# Focus Event A focus event is triggered when the page focus moves between components. It can be used to change the content of a component. > **NOTE** > > - The APIs of this module are supported since API version 8. Updates will be marked with a superscript to indicate their earliest API version. > - Currently, only the Tab button and arrow buttons on the external keyboard can be used to trigger the focus event. ## Events | Name | Bubbling Supported| Description | | ---------------------------------------- | -------- | --------------- | | onFocus(event: () => void) | No | Triggered when the current component obtains focus.| | onBlur(event:() => void) | No | Triggered when the current component loses focus.| > **NOTE** > > The following components support focus events: **\