Module: features/clickables/clickable
Interfaces
Type aliases
Clickable
Ƭ Clickable<T
>: Replace
<T
& BaseClickable
, { canClick
: GetComputableTypeWithDefault
<T
["canClick"
], true
> ; classes
: GetComputableType
<T
["classes"
]> ; display
: GetComputableType
<T
["display"
]> ; mark
: GetComputableType
<T
["mark"
]> ; style
: GetComputableType
<T
["style"
]> ; visibility
: GetComputableTypeWithDefault
<T
["visibility"
], Visible
> }>
Type parameters
Name | Type |
---|---|
T | extends ClickableOptions |
Defined in
profectus/src/features/clickables/clickable.ts:49
GenericClickable
Ƭ GenericClickable: Replace
<Clickable
<ClickableOptions
>, { canClick
: ProcessedComputable
<boolean
> ; visibility
: ProcessedComputable
<Visibility
> }>
Defined in
profectus/src/features/clickables/clickable.ts:61
Variables
ClickableType
• Const
ClickableType: typeof ClickableType
Defined in
profectus/src/features/clickables/clickable.ts:22
Functions
createClickable
▸ createClickable<T
>(optionsFunc
): Clickable
<T
>
Type parameters
Name | Type |
---|---|
T | extends ClickableOptions |
Parameters
Name | Type |
---|---|
optionsFunc | () => T & ThisType <Clickable <T >> |
Returns
Clickable
<T
>