By
Predicates for use with DebugElement
's query functions.
class By {
static all(): Predicate<DebugElement>
static css(selector: string): Predicate<DebugElement>
static directive(type: Type<any>): Predicate<DebugElement>
}
Static methods
Match all elements. |
Usage NotesExample
|
Match elements by the given CSS selector. |
Usage NotesExample
|
Match elements that have the given directive present. |
Usage NotesExample
|