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
**init()** - Initializes the user timeout using the default options. Also adds event listeners for resetting the timeout. *This is automatically called when the plugin is added, but can be called manually if the instance is ever destroyed.*
63
+
**init()** - Initializes the user timeout using the default [options](#options). Also adds event listeners for resetting the timeout. *This is automatically called when the plugin is added, but can be called manually if the instance is ever destroyed.*
|**destroyOnTimeout**| When `true` all listeners will be removed upon completion of the timeout event. *They can be added again using `init()`*. |`true`|`Boolean`|
71
106
72
107
## Events
108
+
Use the `$on`, `$off`, or `$once` methods to set listeners
109
+
73
110
| event | description |
74
-
|-----------------------|-------------|
111
+
|:----------------------|-------------|
75
112
|`timeout-initialized`| $vueUserTimeout has been initialized and is ready to use. |
76
113
|`timeout-completed`| The timeout has completed. |
0 commit comments