mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-19 03:32:21 +08:00
style(components): don't self close slot tags
This commit is contained in:
@ -44,12 +44,12 @@ export class ItemDivider {
|
||||
|
||||
render() {
|
||||
return [
|
||||
<slot name="start" />,
|
||||
<slot name="start"></slot>,
|
||||
<div class="item-divider-inner">
|
||||
<div class="item-divider-wrapper">
|
||||
<slot></slot>
|
||||
</div>
|
||||
<slot name="end" />
|
||||
<slot name="end"></slot>
|
||||
</div>
|
||||
];
|
||||
}
|
||||
|
@ -66,12 +66,12 @@ export class ItemOption {
|
||||
onClick={this.clickedOptionButton.bind(this)}
|
||||
>
|
||||
<span class="item-option-button-inner">
|
||||
<slot name="start" />
|
||||
<slot name="start"></slot>
|
||||
<slot name="top" />
|
||||
<slot name="icon-only" />
|
||||
<slot></slot>
|
||||
<slot name="bottom" />
|
||||
<slot name="end" />
|
||||
<slot name="end"></slot>
|
||||
</span>
|
||||
</TagType>
|
||||
);
|
||||
|
@ -144,7 +144,7 @@ export class Item {
|
||||
class="item-native"
|
||||
onClick={ev => openURL(win, href, ev, routerDirection)}
|
||||
>
|
||||
<slot name="start" />
|
||||
<slot name="start"></slot>
|
||||
<div class="item-inner">
|
||||
<div class="input-wrapper">
|
||||
<slot></slot>
|
||||
|
@ -335,7 +335,7 @@ export class Range implements BaseInput {
|
||||
}
|
||||
|
||||
return [
|
||||
<slot name="start" />,
|
||||
<slot name="start"></slot>,
|
||||
<ion-gesture
|
||||
disableScroll={true}
|
||||
onStart={this.onDragStart.bind(this)}
|
||||
@ -391,7 +391,7 @@ export class Range implements BaseInput {
|
||||
)}
|
||||
</div>
|
||||
</ion-gesture>,
|
||||
<slot name="end" />
|
||||
<slot name="end"></slot>
|
||||
];
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user