Options
All
  • Public
  • Public/Protected
  • All
Menu

Module "geocortex/framework-ui/animation/AnimationSequence"

Index

Variables

Private Let _activeAnimations

_activeAnimations: AnimationSequence[]

Functions

checkAndRunIdle

  • checkAndRunIdle(): boolean
  • Checks if there are no active animations using isAnimating, and runs any scheduled "idle delegates" if there are no active animations. This is useful when you wish to perform actions in between animations, e.g. setting form field focus.

    Returns boolean

isAnimating

  • isAnimating(): boolean
  • Returns true if there are animations currently running.

    Returns boolean

runWhenIdle

  • runWhenIdle(delegate: Function): void
  • Schedules an "idle delegate" to be run when there are no more active animations.

    Parameters

    • delegate: Function

    Returns void