Function isDescriptionHidden

  • Whether an element's description should be hidden.

    Parameters

    • visible: boolean

      whether an element is visible

    • description: string

      the element's description

    • isFocused: boolean

      whether the element is focused

    • showUnfocusedDescription: boolean

    Returns boolean

    true, if the description is to be hidden, false otherwise