MCPcopy Create free account
hub / github.com/NativeScript/NativeScript / constructor

Method constructor

packages/core/ui/styling/css-selector.ts:255–257  ·  view source on GitHub ↗
(public id: string)

Source from the content-addressed store, hash-verified

253@SelectorProperties(Specificity.Id, Rarity.Id, Match.Static)
254export class IdSelector extends SimpleSelector {
255 constructor(public id: string) {
256 super();
257 }
258 public toString(): string {
259 return `#${this.id}${wrap(this.combinator)}`;
260 }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected