Options
All
  • Public
  • Public/Protected
  • All
Menu

Class FontFaceElement

Hierarchy

Index

Constructors

Properties

animationFrozen: boolean = false
animationFrozenValue: string = ''
ascent: number
attributes: Record<string, Property<unknown>> = {}
captureTextNodes: boolean = false
children: Element[] = []
descent: number
document: Document
node?: HTMLElement
parent: Element = null
styles: Record<string, Property<unknown>> = {}
stylesSpecificity: Record<string, string> = {}
type: string = 'font-face'
unitsPerEm: number
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