import{_ as e,c as t,o,N as a}from"./chunks/framework.0799945b.js";const b=JSON.parse('{"title":"Module: util/vue","description":"","frontmatter":{"editLink":false},"headers":[],"relativePath":"api/modules/util/vue.md","lastUpdated":null}'),r={name:"api/modules/util/vue.md"},d=a('
• VueFeature: Object
Name | Type |
---|---|
[Component] | GenericComponent |
[GatherProps] | () => Record <string , unknown > |
Ƭ PropTypes: typeof Boolean
| typeof String
| typeof Number
| typeof Function
| typeof Object
| typeof Array
profectus/src/util/vue.tsx:216
▸ coerceComponent(component
, defaultWrapper?
): DefineComponent
Name | Type | Default value |
---|---|---|
component | CoercableComponent | undefined |
defaultWrapper | string | "span" |
▸ computeComponent(component
, defaultWrapper?
): ShallowRef
<Component
| ""
>
Name | Type | Default value |
---|---|---|
component | Ref <ProcessedComputable <CoercableComponent >> | undefined |
defaultWrapper | string | "div" |
profectus/src/util/vue.tsx:175
▸ computeOptionalComponent(component
, defaultWrapper?
): ShallowRef
<Component
| ""
| null
>
Name | Type | Default value |
---|---|---|
component | Ref <ProcessedComputable <undefined | CoercableComponent >> | undefined |
defaultWrapper | string | "div" |
profectus/src/util/vue.tsx:185
▸ getFirstFeature<T
>(features
, filter
): Object
Name | Type |
---|---|
features | T [] |
filter | (feature : T ) => boolean |
profectus/src/util/vue.tsx:155
▸ isCoercableComponent(component
): component is CoercableComponent
Name | Type |
---|---|
component | unknown |
profectus/src/util/vue.tsx:104
▸ joinJSX(objects
, joiner
): JSX.Element
Name | Type |
---|---|
objects | Element [] |
joiner | Element |
▸ processedPropType<T
>(...types
): PropType
<ProcessedComputable
<T
>>
Name | Type |
---|---|
...types | PropTypes [] |
profectus/src/util/vue.tsx:225
▸ render(object
): JSX.Element
| DefineComponent
Name | Type |
---|---|
object | CoercableComponent | VueFeature |
▸ renderCol(...objects
): JSX.Element
Name | Type |
---|---|
...objects | (CoercableComponent | VueFeature )[] |
▸ renderColJSX(...objects
): JSX.Element
Name | Type |
---|---|
...objects | (CoercableComponent | VueFeature )[] |
▸ renderJSX(object
): JSX.Element
Name | Type |
---|---|
object | CoercableComponent | VueFeature |
▸ renderRow(...objects
): JSX.Element
Name | Type |
---|---|
...objects | (CoercableComponent | VueFeature )[] |
▸ renderRowJSX(...objects
): JSX.Element
Name | Type |
---|---|
...objects | (CoercableComponent | VueFeature )[] |
▸ setRefValue<T
>(ref
, value
): void
Name | Type |
---|---|
ref | Ref <T | Ref <T >> |
value | T |
profectus/src/util/vue.tsx:208
▸ setupHoldToClick(onClick?
, onHold?
): Object
Name | Type |
---|---|
onClick? | Ref <undefined | (e? : MouseEvent | TouchEvent ) => void > |
onHold? | Ref <undefined | VoidFunction > |
profectus/src/util/vue.tsx:119
▸ trackHover(element
): Ref
<boolean
>
Name | Type |
---|---|
element | VueFeature |
profectus/src/util/vue.tsx:232
▸ unwrapRef<T
>(ref
): T
Name | Type |
---|---|
ref | Ref <ProcessedComputable <T >> |
profectus/src/util/vue.tsx:204
▸ wrapRef<T
>(ref
): ComputedRef
<T
>
Name | Type |
---|---|
ref | Ref <ProcessedComputable <T >> |