Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NativeScript/NativeScript
/ toString
Method
toString
packages/core/ui/styling/css-selector.ts:290–292 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
288
super();
289
}
290
public toString(): string {
291
return
`.${this.cssClass}${wrap(this.combinator)}`;
292
}
293
public match(node: Node): boolean {
294
return
node.cssClasses && node.cssClasses.has(this.cssClass);
295
}
Callers
nothing calls this directly
Calls
1
wrap
Function · 0.70
Tested by
no test coverage detected