Options
All
  • Public
  • Public/Protected
  • All
Menu

Class StopElement

Hierarchy

Index

Constructors

  • new StopElement(document: Document, node: HTMLElement, captureTextNodes?: boolean): StopElement

Properties

animationFrozen: boolean = false
animationFrozenValue: string = ''
attributes: Record<string, Property<unknown>> = {}
captureTextNodes: boolean = false
children: Element[] = []
color: string
document: Document
node?: HTMLElement
offset: number
parent: Element = null
styles: Record<string, Property<unknown>> = {}
stylesSpecificity: Record<string, string> = {}
type: string = 'stop'
ignoreChildTypes: string[] = ...

Methods

  • addChild(childNode: HTMLElement | Element): void
  • addStylesFromStyleDefinition(): void
  • getAttribute(name: string, createIfNotExists?: boolean): Property<unknown>
  • getStyle(name: string, createIfNotExists?: boolean, skipAncestors?: boolean): Property<unknown>
  • isFirstChild(): boolean
  • matchesSelector(selector: string): boolean
  • removeStyles(element: Element, ignoreStyles: string[]): [string, string][]
  • restoreStyles(element: Element, styles: [string, string][]): void

Generated using TypeDoc