dash_mp_components.PeriodicTableInput¶
- class dash_mp_components.PeriodicTableInput(id: str | dict | None = None, state: dict | None = None, maxElementSelectable: Annotated[SupportsFloat | SupportsInt | SupportsComplex, _NumberSchema] | None = None, forceTableLayout: Literal['spaced', 'compact', 'small', 'map'] | None = None, **kwargs)[source]¶
Bases:
ComponentA PeriodicTableInput component. MpPeriodicTableInput is a component that allows user to select some components from a periodic table
Keyword arguments:
- id (string; optional):
The ID used to identify this component in Dash callbacks.
- forceTableLayout (a value equal to: ‘spaced’, ‘compact’, ‘small’, ‘map’; optional):
Force the table to be in a specific layout.
- maxElementSelectable (number; default 10):
Maximum number of selectable elements.
- state (dict; optional):
This is a read-only prop that dash callback can subscribe to.
- __init__(id: str | dict | None = None, state: dict | None = None, maxElementSelectable: Annotated[SupportsFloat | SupportsInt | SupportsComplex, _NumberSchema] | None = None, forceTableLayout: Literal['spaced', 'compact', 'small', 'map'] | None = None, **kwargs)¶
Methods
__init__([id, state, maxElementSelectable, ...])to_plotly_json()Attributes
REQUIREDUNDEFINEDavailable_wildcard_properties