Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ProjectorOptions

Options that may be passed when creating the Projector

Hierarchy

Index

Properties

Methods

Properties

Optional performanceLogger

performanceLogger: ProjectorPerformanceLogger

Can be used to log performance metrics

Methods

Optional styleApplyer

  • styleApplyer(domNode: HTMLElement, styleName: string, value: string): void
  • May be used to add vendor prefixes when applying inline styles when needed. This function is called when styles is used. This function should execute domNode.style[styleName] = value or do something smarter.

    Parameters

    • domNode: HTMLElement

      The DOM Node that needs to receive the style

    • styleName: string

      The name of the style that should be applied, for example transform.

    • value: string

      The value of this style, for example rotate(45deg).

    Returns void

Generated using TypeDoc