Creates a child service with a separate context scoped to the HTML element passed in. Useful for e.g. setting the {view} context value for particular widgets.
Gets the context keys that are locally defined (not inherited from parent contexts) at or above the given element. This is useful for determining which context keys are specific to a particular DOM element's scope.
The DOM element to get local context keys for
A Set of context key names that are locally defined, or an empty Set if none
Whether the expression is satisfied. If context provided, the service will attempt to retrieve a context object associated with that element.
Optionalcontext: HTMLElementa Set of the keys used by the given expression or undefined if none are used or the expression cannot be parsed.
Set or modify a value in the service's context.
Creates a temporary context that will use the values passed in when evaluating callback.
The callback must be synchronous.
values to be used in the new ContextKeyService. These values will be static. Creates a child service with a separate context and a set of fixed values to override parent values.