ion-segment-view
分段视图是一个封装元素,当使用可滑动的分段时,它将一组分段内容链接到一个分段。 有关如何使用分段视图的更多信息,请参阅我们的可滑动分段文档。
🌐 Segment view is a wrapper element that links a group of segment contents to a segment when using swipeable segments. See our swipeable segments documentation for more information on how to use segment views.
属性
🌐 Properties
disabled
| Description | If true, the segment view cannot be interacted with. |
| Attribute | disabled |
| Type | boolean |
| Default | false |
swipeGesture
| Description | If true, users will be able to swipe the segment view to navigate between segment contents. |
| Attribute | swipe-gesture |
| Type | boolean |
| Default | true |
事件
🌐 Events
| Name | Description | Bubbles |
|---|---|---|
ionSegmentViewScroll | Emitted when the segment view is scrolled. | true |
方法
🌐 Methods
No public methods available for this component.
CSS 阴影部分
🌐 CSS Shadow Parts
No CSS shadow parts available for this component.
CSS 自定义属性
🌐 CSS Custom Properties
No CSS custom properties available for this component.
插槽
🌐 Slots
No slots available for this component.