mx-ui-components
Version:
mobius ui library
48 lines (47 loc) • 1.45 kB
TypeScript
import BaseComponent from "../Counter/BaseComponent";
declare class ComplexCards extends BaseComponent {
private props;
private data;
constructor();
static get observedAttributes(): string[];
attributeChangedCallback(name: string, oldValue: string | null, newValue: string | null): void;
connectedCallback(): void;
addPropsToElement(data: any, parent: any): any;
CreateAccorion(card: any): {
type: string;
id: string;
styles: string;
version: string;
children: {
type: string;
id: string;
version: string;
styles: string;
children: ({
type: string;
id: string;
bindings: {
state: string;
actions: {
click: string[];
hover: never[];
};
};
styles: string;
version: string;
children: any[];
} | {
type: string;
version: string;
styles: string;
children: never[];
id?: undefined;
bindings?: undefined;
})[];
}[];
};
toggleChilds(element: HTMLElement): void;
renderTree(data: any, parent: HTMLElement): void;
render(): void;
}
export default ComplexCards;