@salla.sa/twilight-components
Version:
Salla Web Component
13 lines (12 loc) • 428 B
TypeScript
/**
* its to easy to use, currenlty its support select & checkbox input as trigger for show/hide the dom
* the dom you can put it like this data-show-when="{name of the field} {= or !=} {value of the field}"
*/
export declare class SallaConditionalFields {
host: HTMLElement;
private hideAllOptions;
private disableInputs;
changeHandler(event: any): void;
componentDidRender(): void;
render(): any;
}