style(components): don't self close tags

This commit is contained in:
Brandy Carney
2018-09-12 11:37:08 -04:00
parent 6ed4690834
commit fcb45d12e2
10 changed files with 10 additions and 10 deletions

View File

@ -337,7 +337,7 @@ export class Alert implements OverlayInterface {
{i.label} {i.label}
</div> </div>
</div> </div>
{this.mode === 'md' && <ion-ripple-effect />} {this.mode === 'md' && <ion-ripple-effect></ion-ripple-effect>}
</button> </button>
))} ))}
</div> </div>
@ -368,7 +368,7 @@ export class Alert implements OverlayInterface {
{i.label} {i.label}
</div> </div>
</div> </div>
{this.mode === 'md' && <ion-ripple-effect />} {this.mode === 'md' && <ion-ripple-effect></ion-ripple-effect>}
</button> </button>
))} ))}
</div> </div>

View File

@ -186,7 +186,7 @@ export class Button {
<slot></slot> <slot></slot>
<slot name="end"></slot> <slot name="end"></slot>
</span> </span>
{this.mode === 'md' && <ion-ripple-effect />} {this.mode === 'md' && <ion-ripple-effect></ion-ripple-effect>}
</TagType> </TagType>
); );
} }

View File

@ -63,7 +63,7 @@ export class ChipButton {
<span class="chip-button-inner"> <span class="chip-button-inner">
<slot></slot> <slot></slot>
</span> </span>
{this.mode === 'md' && <ion-ripple-effect />} {this.mode === 'md' && <ion-ripple-effect></ion-ripple-effect>}
</TagType> </TagType>
); );
} }

View File

@ -538,7 +538,7 @@ export class Datetime {
onClick={this.open.bind(this)} onClick={this.open.bind(this)}
class="datetime-cover" class="datetime-cover"
> >
{this.mode === 'md' && <ion-ripple-effect />} {this.mode === 'md' && <ion-ripple-effect></ion-ripple-effect>}
</button> </button>
]; ];
} }

View File

@ -161,7 +161,7 @@ export class Item {
{showDetail && <ion-icon icon={detailIcon} lazy={false} class="item-detail-icon"></ion-icon>} {showDetail && <ion-icon icon={detailIcon} lazy={false} class="item-detail-icon"></ion-icon>}
</div> </div>
{state && <div class="item-state"></div>} {state && <div class="item-state"></div>}
{clickable && mode === 'md' && <ion-ripple-effect />} {clickable && mode === 'md' && <ion-ripple-effect></ion-ripple-effect>}
</TagType> </TagType>
); );
} }

View File

@ -76,7 +76,7 @@ export class SegmentButton {
onClick={() => this.checked = true} onClick={() => this.checked = true}
> >
<slot></slot> <slot></slot>
{this.mode === 'md' && <ion-ripple-effect />} {this.mode === 'md' && <ion-ripple-effect></ion-ripple-effect>}
</button> </button>
]; ];
} }

View File

@ -506,7 +506,7 @@ export class Select {
class="select-cover" class="select-cover"
> >
<slot></slot> <slot></slot>
{this.mode === 'md' && <ion-ripple-effect />} {this.mode === 'md' && <ion-ripple-effect></ion-ripple-effect>}
</button> </button>
]; ];
} }

View File

@ -136,7 +136,7 @@ export class Tabbar {
{icon && <ion-icon class="tab-btn-icon" icon={icon} lazy={false}></ion-icon>} {icon && <ion-icon class="tab-btn-icon" icon={icon} lazy={false}></ion-icon>}
{label && <span class="tab-btn-text">{label}</span>} {label && <span class="tab-btn-text">{label}</span>}
{badge && <ion-badge class="tab-btn-badge" color={badgeColor}>{badge}</ion-badge>} {badge && <ion-badge class="tab-btn-badge" color={badgeColor}>{badge}</ion-badge>}
{this.mode === 'md' && <ion-ripple-effect />} {this.mode === 'md' && <ion-ripple-effect></ion-ripple-effect>}
</a> </a>
); );
} }

View File

@ -77,7 +77,7 @@ export function startTapClick(doc: Document) {
const { x, y } = pointerCoord(ev); const { x, y } = pointerCoord(ev);
// unactivate selected // deactivate selected
if (activatableEle) { if (activatableEle) {
if (clearDefers.has(activatableEle)) { if (clearDefers.has(activatableEle)) {
throw new Error('internal error'); throw new Error('internal error');