ion-segment-content
Segment content 是一个封装元素,用于在使用可滑动段时控制子元素的显示。Segment content 元素是链接到 segment 的单个 片段视图 实例的子元素。有关如何使用段内容的更多信息,请参阅我们的 可滑动片段 文档。
¥Segment content is a wrapper element used to control the display of child elements when using swipeable segments. Segment content elements are children of a single segment view instance that is linked to a segment. See our swipeable segments documentation for more information on how to use segment contents.
用法
¥Usage
每个 ion-segment-content
都需要一个唯一的 id
属性。这将用于通过按钮的 contentId 属性 将片段内容链接到片段按钮。
¥Each ion-segment-content
needs a unique id
attribute. This will be used to link the segment content to a segment button via the button's
contentId property.
属性
¥Properties
No properties available for this component.
事件
¥Events
No events available for this component.
方法
¥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.