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