- useControl<R, D, P>(props, stateMap): {
control: ComputedRef<Required<R>>;
} Parameters
props: P
stateMap: ((state, props) => R)
- (state, props): R
Parameters
state: JsonFormsState
props: P
Returns R
Returns {
control: ComputedRef<Required<R>>;
}
- useControl<R, D, P>(props, stateMap, dispatchMap): {
control: ComputedRef<Required<R>>;
} & D Parameters
props: P
stateMap: ((state, props) => R)
- (state, props): R
Parameters
state: JsonFormsState
props: P
Returns R
dispatchMap: ((dispatch) => D)
- (dispatch): D
Parameters
dispatch: Dispatch<CoreActions>
Returns D
Returns {
control: ComputedRef<Required<R>>;
} & D