Interface ContextMatcher

interface ContextMatcher {
    match(expression, context?): boolean;
}

Hierarchy (view full)

Methods

Methods

  • Whether the expression is satisfied. If context provided, the service will attempt to retrieve a context object associated with that element.

    Parameters

    • expression: string
    • Optional context: HTMLElement

    Returns boolean