tuil
ReferencePackages@mwillbanks/tuil-focusAPI

FocusChange

interface exported by @mwillbanks/tuil-focus.

View rawEdit

interface

Public interface exported by @mwillbanks/tuil-focus.

export interface FocusChange {
  readonly previousId?: string;
  readonly currentId?: string;
  readonly reason: string;
}

Members

MemberTypeRequiredDescriptionRelated types
previousIdstring | undefinedNoThe previousId member uses the string | undefined contract.
currentIdstring | undefinedNoThe currentId member uses the string | undefined contract.
reasonstringYesThe reason member uses the string contract.

Parameters

This declaration has no public members.

Returns

This declaration does not return a value.

Throws

No thrown errors are documented for this declaration.

No package-local related types.

Source

View the secondary source reference

Package

@mwillbanks/tuil-focus

On this page