Options
All
  • Public
  • Public/Protected
  • All
Menu

Class PreferenceLeafNodeRenderer<ValueType, InteractableType> Abstract

Type Parameters

  • ValueType extends JSONValue

  • InteractableType extends HTMLElement

Hierarchy

Implements

Index

Constructors

Properties

_group: string
_id: string
_subgroup: string
attached: boolean = false
domNode: HTMLElement
gutter: HTMLDivElement
headlineWrapper: HTMLDivElement
inspection: undefined | PreferenceInspection<ValueType>
interactable: InteractableType
isModifiedFromDefault: boolean = false
markdownRenderer: MarkdownIt
menuRenderer: ContextMenuRenderer
openerService: OpenerService
preferenceNode: LeafNode
preferenceService: PreferenceService
setPreferenceWithDebounce: DebouncedFunc<any> = ...

Accessors

  • get group(): string
  • get id(): string
  • get node(): HTMLElement
  • get nodeId(): string
  • get schema(): PreferenceDataProperty
  • get visible(): boolean

Methods

  • addEventHandlerToModifiedScope(scope: PreferenceScope, scopeWrapper: HTMLElement): void
  • addModifiedMarking(): void
  • appendTo(parent: HTMLElement): void
  • buildMarkdownRenderer(): MarkdownIt
  • compareOtherModifiedScopes(headlineWrapper: HTMLDivElement, currentSuffix: HTMLElement): void
  • createDomNode(): HTMLLIElement
  • createInteractable(container: HTMLElement): void
  • createModifiedScopeMessage(scope: PreferenceScope): HTMLSpanElement
  • createOtherModifiedScopes(headlineWrapper: HTMLDivElement): void
  • dispose(): void
  • doHandleValueChange(): void
  • getAdditionalNodeClassnames(): Iterable<string>
  • getFallbackValue(): ValueType
  • getModifiedMessagePrefix(): string
  • getModifiedScopesAsStrings(): PreferenceScope[]
  • getValue(): null | ValueType
  • handleCogAction(__namedParameters: KeyboardEvent | MouseEvent): void
  • handleScopeChange(isFiltered?: boolean): void
  • handleSearchChange(isFiltered?: boolean): void
  • handleValueChange(): void
  • hide(): void
  • hideCog(): void
  • init(): void
  • insertAfter(previousSibling: HTMLElement): void
  • insertBefore(nextSibling: HTMLElement): void
  • openLink(event: MouseEvent): void
  • prependTo(parent: HTMLElement): void
  • removeModifiedMarking(): void
  • setId(): void
  • setPreferenceImmediately(value: undefined | ValueType): Promise<void>
  • show(): void
  • showCog(): void
  • updateHeadline(filtered?: boolean): void
  • updateInspection(): void
  • updateModificationStatus(knownCurrentValue?: JSONValue): void