Profectus / features/clickables/action / createAction
Function: createAction() ​
createAction<
T
>(optionsFunc
?):object
&Omit
<Omit
<T
,"canClick"
|"display"
|"onClick"
|"style"
|"duration"
|"autoStart"
|"barOptions"
>,"canClick"
|"display"
|"onClick"
|"visibility"
|"classes"
|"style"
| typeofVueFeature
|"id"
|"components"
|"wrappers"
|"duration"
|"autoStart"
|"barOptions"
> &object
Lazily creates an action with the given options.
Type Parameters ​
• T extends ActionOptions
Parameters ​
optionsFunc? ​
() => T
Action options.
Returns ​
object
& Omit
<Omit
<T
, "canClick"
| "display"
| "onClick"
| "style"
| "duration"
| "autoStart"
| "barOptions"
>, "canClick"
| "display"
| "onClick"
| "visibility"
| "classes"
| "style"
| typeof VueFeature
| "id"
| "components"
| "wrappers"
| "duration"
| "autoStart"
| "barOptions"
> & object