You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
439 B
16 lines
439 B
export class StyleModule { |
|
constructor(spec: {[selector: string]: StyleSpec}, options?: { |
|
finish?(sel: string): string |
|
}) |
|
getRules(): string |
|
static mount( |
|
root: Document | ShadowRoot | DocumentOrShadowRoot, |
|
module: StyleModule | ReadonlyArray<StyleModule>, |
|
options?: {nonce?: string} |
|
): void |
|
static newName(): string |
|
} |
|
|
|
export type StyleSpec = { |
|
[propOrSelector: string]: string | number | StyleSpec | null |
|
}
|
|
|