Function useFiveCurrentState

  • Five Vue Hooks: Five 的实时状态

    Returns [currentState: Ref<State>, setState: ((state: Partial<State> | ((prevState: State) => Partial<State>), immediately?: boolean, userAction?: boolean) => void)]

    [ currentState: Five 的实时状态, setState: 设置 Five 的状态 ]

    const [ currentState, setState ] = useFiveCurrentState;