ion-segment-content
Segment content 是一个封装元素,用于在使用可滑动段时控制子元素的显示。Segment content 元素是单个与 segment 关联的 segment view 实例的子元素。有关如何使用 segment content 的更多信息,请参阅我们的 可滑动段 文档。
🌐 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.