Describes the constructor function for an InitialSystem implementation.

interface InitialSystemConstructor {
    new InitialSystemConstructor(
        options?: {
            constrain?: boolean;
            element?: HTMLElement;
            enabled?: boolean;
            height?: number;
            lock?: boolean;
            width?: number;
        },
    ): InitialSystem;
}

Constructors

Constructors

  • Parameters

    • Optionaloptions: {
          constrain?: boolean;
          element?: HTMLElement;
          enabled?: boolean;
          height?: number;
          lock?: boolean;
          width?: number;
      }

      Initial options.

      • Optionalconstrain?: boolean

        Constrain state.

      • Optionalelement?: HTMLElement

        Target element.

      • Optionalenabled?: boolean

        Enabled state.

      • Optionalheight?: number

        Manual height.

      • Optionallock?: boolean

        Lock parameters from being set.

      • Optionalwidth?: number

        Manual width.

    Returns InitialSystem