wj-elements
Version:
WebJET Elements is a modern set of user interface tools harnessing the power of web components designed to simplify web application development.
33 lines (32 loc) • 1.18 kB
TypeScript
import { default as WJElement } from '../wje-element/element.js';
/**
* @summary CardTitle class that extends WJElement.
* @documentation https://elements.webjet.sk/components/card-title
* @status stable
* @augments WJElement
* @slot - The card title main content.
* @cssproperty [--wje-card-title-font-size=24px] - Font size of the component;
* @cssproperty [--wje-card-title-font-weight=500] - Font weight of the component;
* @cssproperty [--wje-card-title-margin=0] - Margin of the component;
* @cssproperty [--wje-card-title-padding=0] - Padding of the component;
* @cssproperty [--wje-card-title-line-height=1.2] - Line height of the component;
*/
export default class CardTitle extends WJElement {
/**
* Getter for the CSS stylesheet.
* @returns {object} The styles object.
* @static
*/
static get cssStyleSheet(): object;
/**
* Getter for the observed attributes.
* @returns {Array} An empty array.
* @static
*/
static get observedAttributes(): any[];
/**
* Draws the CardTitle element.
* @returns {DocumentFragment} The created document fragment.
*/
draw(): DocumentFragment;
}