@duetds/components
Version:
This package includes Duet Components and related tools.
28 lines (27 loc) • 586 B
TypeScript
export declare class DuetHeading {
/**
* Reference to host HTML element.
*/
element: HTMLElement;
/**
* The heading level used for the heading. Can be one of: h1, h2, h3, h4, h5, h6.
*/
level: string;
/**
* Custom color for the heading.
*/
color: string;
/**
* Theme of the card. Can be one of: default, turva.
*/
theme: string;
/**
* Component lifecycle events.
*/
componentWillLoad(): void;
/**
* render() function
* Always the last one in the class.
*/
render(): any;
}