Skip to content
On this page

Module: util/vue

Interfaces

VueFeature

VueFeature: Object

NameType
[Component]GenericComponent
[GatherProps]() => Record<string, unknown>

Defined in

profectus/src/util/vue.tsx:46

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

NameTypeDefault value
componentCoercableComponentundefined
defaultWrapperstring"span"

Defined in

profectus/src/util/vue.tsx:25


computeComponent

computeComponent(component, defaultWrapper?): ShallowRef<Component | "">

NameTypeDefault value
componentRef<ProcessedComputable<CoercableComponent>>undefined
defaultWrapperstring"div"

Defined in

profectus/src/util/vue.tsx:175


computeOptionalComponent

computeOptionalComponent(component, defaultWrapper?): ShallowRef<Component | "" | null>

NameTypeDefault value
componentRef<ProcessedComputable<undefined | CoercableComponent>>undefined
defaultWrapperstring"div"

Defined in

profectus/src/util/vue.tsx:185


getFirstFeature

getFirstFeature<T>(features, filter): Object

NameType
featuresT[]
filter(feature: T) => boolean

Defined in

profectus/src/util/vue.tsx:155


isCoercableComponent

isCoercableComponent(component): component is CoercableComponent

NameType
componentunknown

Defined in

profectus/src/util/vue.tsx:104


joinJSX

joinJSX(objects, joiner): JSX.Element

NameType
objectsElement[]
joinerElement

Defined in

profectus/src/util/vue.tsx:94


processedPropType

processedPropType<T>(...types): PropType<ProcessedComputable<T>>

NameType
...typesPropTypes[]

Defined in

profectus/src/util/vue.tsx:225


render

render(object): JSX.Element | DefineComponent

NameType
objectCoercableComponent | VueFeature

Defined in

profectus/src/util/vue.tsx:51


renderCol

renderCol(...objects): JSX.Element

NameType
...objects(CoercableComponent | VueFeature)[]

Defined in

profectus/src/util/vue.tsx:66


renderColJSX

renderColJSX(...objects): JSX.Element

NameType
...objects(CoercableComponent | VueFeature)[]

Defined in

profectus/src/util/vue.tsx:90


renderJSX

renderJSX(object): JSX.Element

NameType
objectCoercableComponent | VueFeature

Defined in

profectus/src/util/vue.tsx:70


renderRow

renderRow(...objects): JSX.Element

NameType
...objects(CoercableComponent | VueFeature)[]

Defined in

profectus/src/util/vue.tsx:62


renderRowJSX

renderRowJSX(...objects): JSX.Element

NameType
...objects(CoercableComponent | VueFeature)[]

Defined in

profectus/src/util/vue.tsx:86


setRefValue

setRefValue<T>(ref, value): void

NameType
refRef<T | Ref<T>>
valueT

Defined in

profectus/src/util/vue.tsx:208


setupHoldToClick

setupHoldToClick(onClick?, onHold?): Object

NameType
onClick?Ref<undefined | (e?: MouseEvent | TouchEvent) => void>
onHold?Ref<undefined | VoidFunction>

Defined in

profectus/src/util/vue.tsx:119


trackHover

trackHover(element): Ref<boolean>

NameType
elementVueFeature

Defined in

profectus/src/util/vue.tsx:232


unwrapRef

unwrapRef<T>(ref): T

NameType
refRef<ProcessedComputable<T>>

Defined in

profectus/src/util/vue.tsx:204


wrapRef

wrapRef<T>(ref): ComputedRef<T>

NameType
refRef<ProcessedComputable<T>>

Defined in

profectus/src/util/vue.tsx:200