soft-components
Version:
Simple soft flexible set of web components
33 lines (32 loc) • 716 B
TypeScript
export declare class Card {
el: HTMLElement;
/**
* if true, card will appear engraved instead of raised by default.
*/
engraved?: boolean | undefined;
/**
* Title of the card
*/
cardTitle?: string;
/**
* Subtitle of the card
*/
cardSubtitle?: string;
/**
* If this card has bordered style
*/
bordered?: boolean | undefined;
/**
* Position of featured media in the card
*/
mediaPosition?: 'top' | 'left' | 'right' | 'bottom' | 'start' | 'end' | undefined;
/**
* Use mouse as the light source (ray-tracing)
*/
rayTracing?: boolean;
hasCustomTitle: boolean;
hasOverflowMenu: boolean;
hasMedia: boolean;
componentWillLoad(): void;
render(): any;
}