mx-ui-components
Version:
mobius ui library
29 lines (28 loc) • 945 B
TypeScript
import BaseComponent from "./BaseComponent";
interface ListItem {
value: string;
label: string;
}
declare class CustomCheckbox extends BaseComponent {
protected _list: ListItem[];
protected _isMultiple: boolean;
protected _selectedValues: Set<any>;
protected _prevValues: any;
protected props: any;
protected name: string;
protected checkBoxChecked: string;
protected defaultCheckboxItemStyles: string;
protected defaultCheckboxBoxStyles: string;
protected componentName: string;
constructor();
static get observedAttributes(): string[];
attributeChangedCallback(name: string, oldValue: any, newValue: any): void;
connectedCallback(): void;
PopulateFromState: (state: any) => void;
render(): void;
addClickEventListeners(): void;
toggleState: (state: any) => any;
getSelectedValues(): string[];
resetSelectedValues(): void;
}
export default CustomCheckbox;