Material DesignのSpeed dialの子要素を表現する要素です。
The speed dial component is a Material Design component that displays a floating action button that expands into a menu when tapped. It’s useful for situations where there are several actions needs to be displayed that are of equal importance.
The menu items of the SpeedDial
component are defined using the VOnsSpeedDialItem
component. It also requires a VOnsFab
component which represents the main button.
To define the position of the component the position
property can be specified. By default it is placed in the bottom right corner which can also be achieved by setting the property to the literal string "bottom right"
.
In order to show or hide VOnsSpeedDial
, the visible
prop must be used. The items will toggle by default when clicking on the button. However, the open
prop can optionally be provided in order to programatically show or hide the items. In that case, the onClick
prop must be set as well in order to change the value of the open
prop and keep it updated:
<v-ons-speed-dial :open="isOpen" :on-click="() => isOpen = !isOpen">...</v-ons-speed-dial>
名前 | 型 / デフォルト値 | 概要 |
---|---|---|
modifier | String | このコンポーネントの表現を指定します。 Optional. |
ripple | Boolean | If this attribute is defined, the button will have a ripple effect when tapped. (翻訳中) Optional. |
Onsen UIに関する質問は、Stack Overflowにてonsen-uiタグを付与してください。Onsen UIチームはあなたの問題解決をお手伝いします。
バグ報告や機能要望については、GitHub Issuesに記載をお願いいたします。
あわせて、下記の情報も参考にしてください。