UNPKG

@ionic/core

Version:
28 lines (27 loc) 817 B
import { createColorClasses } from '../../utils/theme'; export class CardSubtitle { hostData() { return { class: createColorClasses(this.color), 'role': 'heading', 'aria-level': '3' }; } render() { return h("slot", null); } static get is() { return "ion-card-subtitle"; } static get encapsulation() { return "shadow"; } static get properties() { return { "color": { "type": String, "attr": "color" }, "mode": { "type": String, "attr": "mode" } }; } static get style() { return "/**style-placeholder:ion-card-subtitle:**/"; } static get styleMode() { return "/**style-id-placeholder:ion-card-subtitle:**/"; } }