Module: util/vue
Interfaces
VueFeature
• VueFeature: Object
Name | Type |
---|---|
[Component] | GenericComponent |
[GatherProps] | () => Record <string , unknown > |
Defined in
Type Aliases
PropTypes
Ƭ PropTypes: typeof Boolean
| typeof String
| typeof Number
| typeof Function
| typeof Object
| typeof Array
Defined in
profectus/src/util/vue.tsx:216
Functions
coerceComponent
▸ coerceComponent(component
, defaultWrapper?
): DefineComponent
Name | Type | Default value |
---|---|---|
component | CoercableComponent | undefined |
defaultWrapper | string | "span" |
Defined in
computeComponent
▸ computeComponent(component
, defaultWrapper?
): ShallowRef
<Component
| ""
>
Name | Type | Default value |
---|---|---|
component | Ref <ProcessedComputable <CoercableComponent >> | undefined |
defaultWrapper | string | "div" |
Defined in
profectus/src/util/vue.tsx:175
computeOptionalComponent
▸ computeOptionalComponent(component
, defaultWrapper?
): ShallowRef
<Component
| ""
| null
>
Name | Type | Default value |
---|---|---|
component | Ref <ProcessedComputable <undefined | CoercableComponent >> | undefined |
defaultWrapper | string | "div" |
Defined in
profectus/src/util/vue.tsx:185
getFirstFeature
▸ getFirstFeature<T
>(features
, filter
): Object
Name | Type |
---|---|
features | T [] |
filter | (feature : T ) => boolean |
Defined in
profectus/src/util/vue.tsx:155
isCoercableComponent
▸ isCoercableComponent(component
): component is CoercableComponent
Name | Type |
---|---|
component | unknown |
Defined in
profectus/src/util/vue.tsx:104
joinJSX
▸ joinJSX(objects
, joiner
): JSX.Element
Name | Type |
---|---|
objects | Element [] |
joiner | Element |
Defined in
processedPropType
▸ processedPropType<T
>(...types
): PropType
<ProcessedComputable
<T
>>
Name | Type |
---|---|
...types | PropTypes [] |
Defined in
profectus/src/util/vue.tsx:225
render
▸ render(object
): JSX.Element
| DefineComponent
Name | Type |
---|---|
object | CoercableComponent | VueFeature |
Defined in
renderCol
▸ renderCol(...objects
): JSX.Element
Name | Type |
---|---|
...objects | (CoercableComponent | VueFeature )[] |
Defined in
renderColJSX
▸ renderColJSX(...objects
): JSX.Element
Name | Type |
---|---|
...objects | (CoercableComponent | VueFeature )[] |
Defined in
renderJSX
▸ renderJSX(object
): JSX.Element
Name | Type |
---|---|
object | CoercableComponent | VueFeature |
Defined in
renderRow
▸ renderRow(...objects
): JSX.Element
Name | Type |
---|---|
...objects | (CoercableComponent | VueFeature )[] |
Defined in
renderRowJSX
▸ renderRowJSX(...objects
): JSX.Element
Name | Type |
---|---|
...objects | (CoercableComponent | VueFeature )[] |
Defined in
setRefValue
▸ setRefValue<T
>(ref
, value
): void
Name | Type |
---|---|
ref | Ref <T | Ref <T >> |
value | T |
Defined in
profectus/src/util/vue.tsx:208
setupHoldToClick
▸ setupHoldToClick(onClick?
, onHold?
): Object
Name | Type |
---|---|
onClick? | Ref <undefined | (e? : MouseEvent | TouchEvent ) => void > |
onHold? | Ref <undefined | VoidFunction > |
Defined in
profectus/src/util/vue.tsx:119
trackHover
▸ trackHover(element
): Ref
<boolean
>
Name | Type |
---|---|
element | VueFeature |
Defined in
profectus/src/util/vue.tsx:232
unwrapRef
▸ unwrapRef<T
>(ref
): T
Name | Type |
---|---|
ref | Ref <ProcessedComputable <T >> |
Defined in
profectus/src/util/vue.tsx:204
wrapRef
▸ wrapRef<T
>(ref
): ComputedRef
<T
>
Name | Type |
---|---|
ref | Ref <ProcessedComputable <T >> |