Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface CollapseElementProps<E>

These props (and ref) must be passed to a DOM element for the collapse transition to work.

remarks

@since 4.0.0

Type parameters

  • E: HTMLElement

    An HTMLElement type used for the ref required for the transition.

Hierarchy

Index

Properties

className: undefined | string

The current transition class name or undefined.

hidden: boolean

This will be set to true when the element is fully collapsed and the CollapseTransitionHookOptions.temporary is set to false. This should be applied as the hidden attribute to a DOM node.

ref: (instance: null | E) => void

Type declaration

    • (instance: null | E): void
    • {@inheritDoc TransitionHookReturnValue.ref}

      Parameters

      • instance: null | E

      Returns void

style: CSSProperties

A merged styled object required for the collapse transition to work.

see

CollapseStyle

see

CollapseTransitionHookOptions.style

Generated using TypeDoc