Options
All
  • Public
  • Public/Protected
  • All
Menu

Class InjectableAnimationEngine

Hierarchy

  • ɵAnimationEngine

Index

Constructors

constructor

  • new InjectableAnimationEngine(doc: any, driver: AnimationDriver, normalizer: AnimationStyleNormalizer): InjectableAnimationEngine
  • Parameters

    • doc: any
    • driver: AnimationDriver
    • normalizer: AnimationStyleNormalizer

    Returns InjectableAnimationEngine

Properties

onRemovalComplete

onRemovalComplete: function

Type declaration

    • (element: any, context: any): void
    • Parameters

      • element: any
      • context: any

      Returns void

players

players: AnimationPlayer[]

Methods

destroy

  • destroy(namespaceId: string, context: any): void
  • Parameters

    • namespaceId: string
    • context: any

    Returns void

disableAnimations

  • disableAnimations(element: any, disable: boolean): void
  • Parameters

    • element: any
    • disable: boolean

    Returns void

flush

  • flush(microtaskId?: number): void
  • Parameters

    • Optional microtaskId: number

    Returns void

listen

  • listen(namespaceId: string, element: any, eventName: string, eventPhase: string, callback: function): function
  • Parameters

    • namespaceId: string
    • element: any
    • eventName: string
    • eventPhase: string
    • callback: function
        • (event: any): any
        • Parameters

          • event: any

          Returns any

    Returns function

      • (): any
      • Returns any

onInsert

  • onInsert(namespaceId: string, element: any, parent: any, insertBefore: boolean): void
  • Parameters

    • namespaceId: string
    • element: any
    • parent: any
    • insertBefore: boolean

    Returns void

onRemove

  • onRemove(namespaceId: string, element: any, context: any, isHostElement?: boolean): void
  • Parameters

    • namespaceId: string
    • element: any
    • context: any
    • Optional isHostElement: boolean

    Returns void

process

  • process(namespaceId: string, element: any, property: string, value: any): void
  • Parameters

    • namespaceId: string
    • element: any
    • property: string
    • value: any

    Returns void

register

  • register(namespaceId: string, hostElement: any): void
  • Parameters

    • namespaceId: string
    • hostElement: any

    Returns void

registerTrigger

  • registerTrigger(componentId: string, namespaceId: string, hostElement: any, name: string, metadata: AnimationTriggerMetadata): void
  • Parameters

    • componentId: string
    • namespaceId: string
    • hostElement: any
    • name: string
    • metadata: AnimationTriggerMetadata

    Returns void

whenRenderingDone

  • whenRenderingDone(): Promise<any>
  • Returns Promise<any>

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method