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
|`z-index`| String | <b>Default '999'</b> <br>Set any value that suits your needs. |
38
+
|`ripple-show`| Boolean | <b>Default true</b> <br>Options: true or false. |
39
+
|`ripple-color`| String | <b>Default 'light'</b> <br>Options: 'light' or 'dark'. |
40
+
|`actions`| Object | Has <b>two properties</b>: <br> -`name` (String) Name of the event. <br> -`icon`(String) Icon name. (Please refer to [Material icons](https://material.io/icons/))|
50
41
51
42
52
43
## Examples
53
44
54
-
Include the component in your .vue file, `styles` & `actions`props are required for the component to work. The `@event` has to match the name given in the `actions` prop.
45
+
Include the component in your .vue file, `actions`prop is required for the component to work. The `@event` has to match the name given in the `actions` prop.
55
46
```
56
47
<template>
57
-
<fab :styles="fabStyles"
58
-
:actions="fabActions"
48
+
<fab :actions="fabActions"
59
49
@cache="cache"
60
50
@alertMe="alert"
61
51
></fab>
62
52
</template>
63
53
```
64
54
55
+
Either `color` and `position` are set by default but they can be changed.
56
+
57
+
```
58
+
<fab
59
+
:position="position"
60
+
:bg-color="bgColor"
61
+
:actions="fabActions"
62
+
@cache="cache"
63
+
@alertMe="alert"
64
+
></fab>
65
+
```
66
+
65
67
Match your data with your components props. The `bgColor` accepts either HEX, RBG or RGBA format.
66
68
67
69
<b>Remember:</b> Only material icons are accepted.
0 commit comments