Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Functions

getInstance

  • getInstance(element: HTMLElement | string | number): default<{}>
  • Return instance of ui component

    external

    UI.getInstance

    example

    UI.getInstance(document.querySelector('.vk-player'))

    Parameters

    • element: HTMLElement | string | number

      Root element or id of ui component

    Returns default<{}>

    Instance of ui component

initComponents

  • initComponents(container?: HTMLElement): void
  • Initialize new ui components found in specified html container.

    external

    UI.initComponents

    example

    UI.initComponents(document.body)

    Parameters

    • container: HTMLElement = ...

      Container where need to initialize new ui components (By default uses entire document)

    Returns void

Legend

  • Constructor
  • Property
  • Method
  • Accessor
  • Property
  • Method
  • Inherited property

Generated using TypeDoc