You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: pages/lab/api/speed-dial-action.md
+1
Original file line number
Diff line number
Diff line change
@@ -19,6 +19,7 @@ title: SpeedDialAction API
19
19
| <spanclass="prop-name">classes</span> | <spanclass="prop-type">object || Useful to extend the style applied to components. |
20
20
| <spanclass="prop-name">delay</span> | <spanclass="prop-type">number | <spanclass="prop-default">0</span> | Adds a transition delay, to allow a series of SpeedDialActions to be animated. |
21
21
| <spanclass="prop-name required">icon *</span> | <spanclass="prop-type">node || The Icon to display in the SpeedDial Floating Action Button. |
22
+
| <spanclass="prop-name">tooltipPlacement</span> | <spanclass="prop-type">string | <spanclass="prop-default">'left'</span> | Placement of the tooltip. |
22
23
| <spanclass="prop-name">tooltipTitle</span> | <spanclass="prop-type">node || Label to display in the tooltip. |
23
24
24
25
Any other properties supplied will be spread to the root element (native element).
Copy file name to clipboardexpand all lines: pages/lab/api/speed-dial.md
+5
Original file line number
Diff line number
Diff line change
@@ -19,6 +19,7 @@ title: SpeedDial API
19
19
| <spanclass="prop-name">ButtonProps</span> | <spanclass="prop-type">object || Properties applied to the [`Button`](/api/button) element. |
20
20
| <spanclass="prop-name required">children *</span> | <spanclass="prop-type">node || SpeedDialActions to display when the SpeedDial is `open`. |
21
21
| <spanclass="prop-name">classes</span> | <spanclass="prop-type">object || Override or extend the styles applied to the component. See [CSS API](#css-api) below for more details. |
22
+
| <spanclass="prop-name">direction</span> | <spanclass="prop-type">enum: 'up' |<br> 'down' |<br> 'left' |<br> 'right'<br> | <spanclass="prop-default">'top'</span> | The direction the actions open relative to the floating action button. |
22
23
| <spanclass="prop-name">hidden</span> | <spanclass="prop-type">bool | <spanclass="prop-default">false</span> | If `true`, the SpeedDial will be hidden. |
23
24
| <spanclass="prop-name required">icon *</span> | <spanclass="prop-type">element || The icon to display in the SpeedDial Floating Action Button. The `SpeedDialIcon` component provides a default Icon with animation. |
24
25
| <spanclass="prop-name">onClose</span> | <spanclass="prop-type">func || Callback fired when the component requests to be closed.<br><br>**Signature:**<br>`function(event: object, key: string) => void`<br>*event:* The event source of the callback<br>*key:* The key pressed |
@@ -40,6 +41,10 @@ This property accepts the following keys:
40
41
|:-----|:------------|
41
42
| <spanclass="prop-name">root</span> | Styles applied to the root element.
42
43
| <spanclass="prop-name">fab</span> | Styles applied to the Button component.
44
+
| <spanclass="prop-name">directionUp</span> | Styles applied to the root and action container elements when direction="up"
45
+
| <spanclass="prop-name">directionDown</span> | Styles applied to the root and action container elements when direction="down"
46
+
| <spanclass="prop-name">directionLeft</span> | Styles applied to the root and action container elements when direction="left"
47
+
| <spanclass="prop-name">directionRight</span> | Styles applied to the root and action container elements when direction="right"
43
48
| <spanclass="prop-name">actions</span> | Styles applied to the actions (`children` wrapper) element.
44
49
| <spanclass="prop-name">actionsClosed</span> | Styles applied to the actions (`children` wrapper) element if `open={false}`.
0 commit comments