Skip to content

Options

The 270 Customiser can be configured with a number of options.
These can only be passed explicitly via the options object.

onAttach

  • Type: Function
  • Default: null

A callback function that fires once the Customiser is attached to the Viewer.
This can not be passed implicitly.

TSDCustomiser.attach(element, {
    onAttach: () => {
        console.log('attached');
    }
})