import{_ as e,c as t,o as a,a as l}from"./app.54d5a277.js";const p='{"title":"Module: features/clickables/clickable","description":"","frontmatter":{},"headers":[{"level":2,"title":"Interfaces","slug":"interfaces"},{"level":2,"title":"Type aliases","slug":"type-aliases"},{"level":3,"title":"Clickable","slug":"clickable"},{"level":3,"title":"GenericClickable","slug":"genericclickable"},{"level":2,"title":"Variables","slug":"variables"},{"level":3,"title":"ClickableType","slug":"clickabletype"},{"level":2,"title":"Functions","slug":"functions"},{"level":3,"title":"createClickable","slug":"createclickable"},{"level":3,"title":"setupAutoClick","slug":"setupautoclick"}],"relativePath":"api/modules/features/clickables/clickable.md"}',c={},i=l('
\u01AC 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
> }>
Name | Type |
---|---|
T | extends ClickableOptions |
profectus/src/features/clickables/clickable.ts:51
\u01AC GenericClickable: Replace
<Clickable
<ClickableOptions
>, { canClick
: ProcessedComputable
<boolean
> ; visibility
: ProcessedComputable
<Visibility
> }>
profectus/src/features/clickables/clickable.ts:63
\u2022 Const
ClickableType: typeof ClickableType
profectus/src/features/clickables/clickable.ts:24
\u25B8 createClickable<T
>(optionsFunc
): Clickable
<T
>
Name | Type |
---|---|
T | extends ClickableOptions |
Name | Type |
---|---|
optionsFunc | () => T & ThisType <Clickable <T >> |
Clickable
<T
>
profectus/src/features/clickables/clickable.ts:71
\u25B8 setupAutoClick(layer
, clickable
, autoActive?
): Unsubscribe
Name | Type | Default value |
---|---|---|
layer | GenericLayer | undefined |
clickable | GenericClickable | undefined |
autoActive | Computable <boolean > | true |
Unsubscribe