UNPKG

@ionic/core

Version:
26 lines (25 loc) 745 B
import { createColorClasses } from '../../utils/theme'; export class ListHeader { hostData() { return { class: createColorClasses(this.color) }; } render() { return h("slot", null); } static get is() { return "ion-list-header"; } 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-list-header:**/"; } static get styleMode() { return "/**style-id-placeholder:ion-list-header:**/"; } }