> For the complete documentation index, see [llms.txt](https://docs.hello-lisa.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.hello-lisa.com/developers/widgets/api-reference/library-api-reference.md).

# Library API reference

For each Content Hub configuration a LiSA Library instance is created and passed onto the ready() callback function, registered with the configuration.

```
window.LiSA.library.configs.push({
  on: {
    ready: (library) => {
      library.quickView.on(library.quickView.Event.OPENED, () => {
        console.log('Quick view is now visible');
      });

      library.player.on(library.player.Event.PLAYER_READY, () => {
        console.log('Player is ready for communication.');
      })
    }
  },
});
```

### Properties

A LiSA Library instance exposes a set of components via the properties listed below:

player

The LiSA player instance that playes a live show or its replay.

See Player API reference for more information on how to customize the player's behaviour.

quickView

The Content Hub provides a quick view component to easily display product detail pages, shopping carts or even checkout flows.

See Quick View API reference for information on events and methods exposed by the quick view component.
