Options
All
  • Public
  • Public/Protected
  • All
Menu

Class PluginSharedStyle

Hierarchy

  • PluginSharedStyle

Index

Constructors

constructor

Properties

Private iconSequence

iconSequence: number = 0

Private Readonly icons

icons: SyncReferenceCollection<PluginIconKey, PluginIcon> = ...

Protected Readonly rules

rules: { body: (theme: Theme) => string; selector: string }[] = []

Protected style

style: HTMLStyleElement

Protected Readonly toUpdate

toUpdate: DisposableCollection = ...

Methods

Protected createPluginIcon

deleteRule

  • deleteRule(selector: string): void

Protected doInsertRule

  • doInsertRule(__namedParameters: { body: (theme: Theme) => string; selector: string }): void

insertRule

  • insertRule(selector: string, body: (theme: Theme) => string): Disposable

toIconClass

  • toIconClass(url: IconUrl, __namedParameters?: { size: number }): Reference<PluginIcon>

Protected update

  • update(): void

Static toExternalIconUrl

  • toExternalIconUrl(iconUrl: string): string