description |
---|
Ease the integration with Backoffice by using a Umbraco Element |
{% hint style="warning" %} This page is a work in progress and may undergo further revisions, updates, or amendments. The information contained herein is subject to change without notice. {% endhint %}
This provides a few methods to connect with the Backoffice, giving you the ability to:
- Consume a Context — Learn more about Consuming Contexts
- Provide Context — Learn more about Providing Contexts
- Observe a State — Learn more about States
- Localization — Learn more about Localization
- Host Controllers — Learn more about Controllers
You can turn any Web Component into an Umbraco Element by using the Umbraco Element Mixin, as done in the following example:
import { UmbElementMixin } from '@umbraco-cms/backoffice/element-api'
class MyExtensionElement extends UmbElementMixin(HTMLElement) {
}