getHookProperty {shinyChakraUI}R Documentation

Get hook property

Description

Chakra hooks are JavaScript objects; this function allows to get a property (key) of a hook. See useDisclosure for an example.

Usage

getHookProperty(hook, property)

Arguments

hook

the name of the hook, usually created in the states list of the withStates function

property

the hook property you want to get

Value

A list like the return value of jseval.


[Package shinyChakraUI version 1.1.1 Index]