## Ready event

`element.on(event: 'ready', handler: function)`

Triggered when the `Element` is fully rendered and methods on the instance, like `element.focus()` and `element.update()`, can be called.

- `event`
  The name of the event.
In this case, `ready`.

- `handler`
  `handler(event) => void` is a **callback function** that you provide that will be called when the event is fired.

After it's called, it passes an event object with the following properties:
    - `elementType`
      The type of element the event is fired from.

### Example

```title
Handle an Element ready event
```
