shadow
Segment buttons are groups of related buttons inside of a segment. They are displayed in a horizontal row. A segment button can be selected by default by setting the value of the segment to the value of the segment button. Only one segment button can be selected at a time.
The layout property is set to "icon-top" by default. When a segment button has both an icon and a label, it will display the icon on top of the label. This behavior can be changed by setting the layout property to "icon-bottom", "icon-start", or "icon-end" which will show the icon below the label, to the start of the label (left in LTR and right in RTL) or to the end of the label (right in LTR and left in RTL), respectively.
contentId
| Description | セグメントコンテンツの id 。 |
| Attribute | content-id |
| Type | string | undefined |
| Default | undefined |
| Description | trueの場合、ユーザーはセグメントボタンを操作することができません。 |
| Attribute | disabled |
| Type | boolean |
| Default | false |
| Description | セグメント内のテキストとアイコンのレイアウトを設定します。 |
| Attribute | layout |
| Type | "icon-bottom" | "icon-end" | "icon-hide" | "icon-start" | "icon-top" | "label-hide" | undefined |
| Default | 'icon-top' |
| Description | modeは、どのプラットフォームのスタイルを使用するかを決定します。
This is a virtual property that is set once during initialization and will not update if you change its value after the initial render. |
| Attribute | mode |
| Type | "ios" | "md" |
| Default | undefined |
| Description | ボタンの種類です。 |
| Attribute | type |
| Type | "button" | "reset" | "submit" |
| Default | 'button' |