UNPKG

@ionic/core

Version:
23 lines (22 loc) 662 B
import { createColorClasses } from '../../utils/theme'; export class Card { hostData() { return { class: createColorClasses(this.color) }; } static get is() { return "ion-card"; } static get encapsulation() { return "scoped"; } static get properties() { return { "color": { "type": String, "attr": "color" }, "mode": { "type": String, "attr": "mode" } }; } static get style() { return "/**style-placeholder:ion-card:**/"; } static get styleMode() { return "/**style-id-placeholder:ion-card:**/"; } }