Settings

A class to manage the settings

Import
the javascript logo
import { Settings } from "@schukai/monster/source/components/datatable/filter/settings.mjs";
Source
the git logo
Package
the npm logo
Since
1.0.0

HTML Structure

<monster-settings></monster-settings>

JavaScript Initialization

const element = document.createElement('monster-settings');
document.body.appendChild(element);

Exported

Settings

Derived from

Base

Options

The Options listed in this section are defined directly within the class. This class is derived from several parent classes, including the CustomElement class. Therefore, it inherits Options from these parent classes. If you cannot find a specific Options in this list, we recommend consulting the documentation of the Base.

Option
Type
Default
Description
-/-

  • since
  • deprecated

Properties and Attributes

The Properties and Attributes listed in this section are defined directly within the class. This class is derived from several parent classes, including the CustomElement class and ultimately from HTMLElement. Therefore, it inherits Properties and Attributes from these parent classes. If you cannot find a specific Properties and Attributes in this list, we recommend consulting the documentation of the Base.

  • data-monster-options: Sets the configuration options for the collapse component when used as an HTML attribute.
  • data-monster-option-[name]: Sets the value of the configuration option [name] for the collapse component when used as an HTML attribute.

Methods

The methods listed in this section are defined directly within the class. This class is derived from several parent classes, including the CustomElement class and ultimately from HTMLElement. Therefore, it inherits methods from these parent classes. If you cannot find a specific method in this list, we recommend consulting the documentation of the Base.

Constructor

constructor()
This class is used to manage the settings of the filter.

Structural methods

get(value)
Parameters
  • value: value
Returns
  • {*}
getOptions()
Returns
  • {Array}
getSelected()
Returns
  • {Array}
set()
Parameters
  • undefined: value
Returns
  • {Settings}
value = "id"
setOptions(options)
Parameters
  • options: options
Returns
  • {Settings}

Events

This component does not fire any public events. It may fire events that are inherited from its parent classes.

The current width of the area is too small to display the content correctly.