ModularItemHideElement
Callable
Parameters
Data: ModularItemData
The modular item data
ID: string
The id of the element
Module: string
The module that must be active
Returns boolean
Whether the module is active or not
The modular item data
The id of the element
The module that must be active
Whether the module is active or not
Hide an HTML element if a given module is not active.