Describes the constructor function for anu SystemBase implementation.

interface SystemBaseConstructor {
    new SystemBaseConstructornew (options?: {
        constrain?: boolean;
        element?: HTMLElement;
        enabled?: boolean;
        height?: number;
        lock?: boolean;
        width?: number;
    }): SystemBase;
}

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 SystemBase