text: const e=window.IonicSiteComponents.h;class t{constructor(){this.selected=!1}deselect(){this.selected=!1}select(){this.selected=!0}handleSelected(){this.toggleSelected.emit(this)}hostData(){return{class:{selected:this.selected}}}render(){return e("div",{onClick:e=>this.handleSelected()},this.title)}static get is(){return"ionic-toggle-button"}static get encapsulation(){return"shadow"}static get properties(){return{deselect:{method:!0},select:{method:!0},selected:{state:!0},tab:{type:String,attr:"tab"},title:{type:String,attr:"title"}}}static get events(){return[{name:"toggleSelected",method:"toggleSelected",bubbles:!0,cancelable:!0,composed:!0}]}static get style(){return":host{display:-ms-flexbox;display:flex;text-decoration:none;cursor:pointer;border:1px solid #eee;text-align:center;font-size:14px}:host,div{-ms-flex:1;flex:1}div{padding:16px}:host(:last-child){border-left:none}:host(.selected){background-color:#4f8ef7;color:#fff;font-weight:700}"}}export{t as IonicToggleButton};