Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace element

Index

Functions

addEventListener

  • addEventListener(element: Document | Element, type: string, listener: EventListenerOrEventListenerObject): void
  • Parameters

    • element: Document | Element
    • type: string
    • listener: EventListenerOrEventListenerObject

    Returns void

cleanEventListenerDict

  • cleanEventListenerDict(): void

createList

  • createList(file: ISimpleFile, li?: HTMLLIElement): HTMLLIElement

dispatchEvent

  • dispatchEvent<T>(type: vno.enums.EEvent, payload?: T, timeout?: number): Promise<boolean>

getIcon

  • getIcon(type: vno.enums.EIcon, width?: number, height?: number): string

getQueryTagLinks

  • getQueryTagLinks(tag: string): TAnchor[]

getSyncSpan

  • getSyncSpan(id?: string): string

removeClass

  • removeClass(element: Element, cls?: string): void
  • Parameters

    • element: Element
    • Optional cls: string

    Returns void

scroll

  • scroll(height: number, isSmooth?: boolean): void
  • Parameters

    • height: number
    • isSmooth: boolean = true

    Returns void

Generated using TypeDoc