InitialFocus

This type is used to decide which strategy for setting an initial focus is appropriate for trapFocusInMountpoint function.

There are three values available:

Parameters

focus

This boolean value splits the enum values into two disjoint sets: values which should set a focus after all (true) and those who does not at all (false)

Entries

Link copied to clipboard

Do not set any focus at all

Link copied to clipboard

Try to set a focus, but do not print out any warning, if no focusable element could be found and therefor no focus has been set.

Link copied to clipboard

Try to set a focus and print out a warning if no focusable element could be found.

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.