By
Predicates for use with DebugElement
's query functions.
class By {
static all(): Predicate<DebugNode>
static css(selector: string): Predicate<DebugElement>
static directive(type: Type<any>): Predicate<DebugNode>
}
静态方法
Match all nodes. |
使用说明Example
|
Match elements by the given CSS selector. |
使用说明Example
|
Match nodes that have the given directive present. |
使用说明Example
|