UNPKG

@huluvu424242/honey-slideshow

Version:

Text to Speech component wich is reading texts from DOM elements.

28 lines (23 loc) 1.08 kB
import { r as registerInstance, h, H as Host } from './index-a2883912.js'; import { g as getIonMode } from './ionic-global-c170bb31.js'; const reorderIosCss = ":host([slot]){display:none;line-height:0;z-index:100}.reorder-icon{display:block;font-size:22px}.reorder-icon{font-size:34px;opacity:0.4}"; const reorderMdCss = ":host([slot]){display:none;line-height:0;z-index:100}.reorder-icon{display:block;font-size:22px}.reorder-icon{font-size:31px;opacity:0.3}"; const Reorder = class { constructor(hostRef) { registerInstance(this, hostRef); } onClick(ev) { ev.preventDefault(); ev.stopImmediatePropagation(); } render() { const mode = getIonMode(this); const reorderIcon = mode === 'ios' ? 'reorder-three-outline' : 'reorder-two-sharp'; return (h(Host, { class: mode }, h("slot", null, h("ion-icon", { name: reorderIcon, lazy: false, class: "reorder-icon", part: "icon" })))); } }; Reorder.style = { ios: reorderIosCss, md: reorderMdCss }; export { Reorder as ion_reorder };