InvocationContext
Why a function is being evaluated, which is what openUrl is allowed to depend on.
The specification requires openUrl to run only "in response to an active, physical user interaction", and to reject "any uninitiated invocation (e.g. initial layout render auto-trigger or dynamic data binding evaluation)". A renderer cannot enforce that from inside the function, so it is the caller that declares which of the two it is doing.
Properties
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.