import { UmbTextStyles } from '@umbraco-cms/backoffice/style'; import { html, customElement, LitElement, property, css } from '@umbraco-cms/backoffice/external/lit'; import { UmbElementMixin } from '@umbraco-cms/backoffice/element-api'; import type { UmbBlockDataType } from '@umbraco-cms/backoffice/block'; import type { UmbBlockEditorCustomViewElement } from '@umbraco-cms/backoffice/block-custom-view'; @customElement('example-block-custom-view') export class ExampleBlockCustomView extends UmbElementMixin(LitElement) implements UmbBlockEditorCustomViewElement { @property({ attribute: false }) content?: UmbBlockDataType; @property({ attribute: false }) settings?: UmbBlockDataType; override render() { return html`
Headline: ${this.content?.headline}
Alignment: ${this.settings?.blockAlignment}