# WorkbookEvents Class

> WorkbookEvents class in the TX Sheet Control TypeScript API for the browser: Per-document typed subscriptions. Covers 2 methods and a TypeScript example.

- **Product:** TX Sheet Control
- **Section:** Documentation
- **Kind:** Class
- **Path:** TX Sheet Control > API Reference > TypeScript API > Browser Editor > WorkbookEvents Class
- **Web URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/workbookevents/
- **LLMs URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/workbookevents/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/workbookevents/llms-full.txt

---

## On This Page

- [Constructor](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/workbookevents/#constructor)
- [Members](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/workbookevents/#members)
- [Examples](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/workbookevents/#examples)
- [See Also](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/workbookevents/#see-also)

---

## In This Section

- [WorkbookEvents.on Method](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/workbookevents/on-method/llms.txt): WorkbookEvents.on method in the TX Sheet Control TypeScript API for the browser: Registers a listener and returns an idempotent unsubscribe function.
- [WorkbookEvents.once Method](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/workbookevents/once-method/llms.txt): WorkbookEvents.once method in the TX Sheet Control TypeScript API for the browser: Registers a listener that unsubscribes before its first invocation.

---

## Nearby

- **Previous:** [WorkbookEventMap.validationFailed Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/workbookeventmap/validationfailed-property/llms.txt)
- **Next:** [WorkbookEvents.on Method](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/workbookevents/on-method/llms.txt)
