Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "Opacity"

Index

Classes

Interfaces

Variables

Functions

Variables

Const opacityBase

opacityBase: 0.5 = 0.5

The default opacity 500 value

Functions

opacityRatio

  • opacityRatio(last: number, delta: number): number
  • Calculates the steps of the opacity

    Parameters

    • last: number

      the previous step value

    • delta: number

      the scale to increase/decrease by

    Returns number

    the next step value