Class UserSettings

Initialises and reacts to user settings

Constructors

Properties

advancedMaterialClass: string = 'advancedMaterial'

Methods

  • Get the saved state of the advanced material switch.

    Get the saved state and set the switch accordingly. If no saved state is found, the advanced material is shown by default.

    Returns void

  • Set the advanced material switch to checked or unchecked.

    Parameters

    • checked: boolean

      The checked state of the advanced material switch.

    Returns void

  • Set the saved state of the advanced material switch.

    Returns void

  • Show or hide advanced material.

    Parameters

    • show: boolean

      Show or hide the advanced material.

    Returns void