# Template Features

- [Directives](https://cbwire.ortusbooks.com/v2-1/template-features/directives.md): CBWIRE's powerful directives allow you to listen for client side events, invoke actions, bind to data properties, and more.
- [Loading States](https://cbwire.ortusbooks.com/v2-1/template-features/loading-states.md): Help website users during wait times using Loading States.
- [Polling](https://cbwire.ortusbooks.com/v2-1/template-features/polling.md): Poll for state changes based on a specified interval without page refreshes. Hot dog!
- [Prefetching](https://cbwire.ortusbooks.com/v2-1/template-features/prefetching.md): Prefetch state changes when the user mouses over an HTML element. Fantastico!
- [Offline State](https://cbwire.ortusbooks.com/v2-1/template-features/offline-state.md): Toggle UI elements when the user is offline or online. Groovy!
- [Defer Loading](https://cbwire.ortusbooks.com/v2-1/template-features/defer-loading.md): Call an action immediately once your Wire is first rendered.
- [Dirty State](https://cbwire.ortusbooks.com/v2-1/template-features/dirty-state.md): Track changes to Data Properties and display changes in your UI instantly.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://cbwire.ortusbooks.com/v2-1/template-features.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
