Skip to content

Commit 4a99a82

Browse files
committed
override for render methods
1 parent cda76c1 commit 4a99a82

File tree

140 files changed

+159
-148
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

140 files changed

+159
-148
lines changed

src/apps/backoffice/backoffice.element.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ export class UmbBackofficeElement extends UmbLitElement {
7171
});
7272
}
7373

74-
render() {
74+
override render() {
7575
return html`
7676
<umb-backoffice-header></umb-backoffice-header>
7777
<umb-backoffice-main></umb-backoffice-main>

src/packages/block/block-grid/components/block-grid-area-config-entry/block-grid-area-config-entry.element.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,11 +85,11 @@ export class UmbBlockGridAreaConfigEntryElement extends UmbLitElement implements
8585
<umb-block-scale-handler @mousedown=${(e: MouseEvent) => this.#context.scaleManager.onScaleMouseDown(e)}>
8686
${this._columnSpan}x${this._rowSpan}
8787
</umb-block-scale-handler>
88-
`
88+
`
8989
: '';
9090
}
9191

92-
render() {
92+
override render() {
9393
return this.#renderBlock();
9494
}
9595

src/packages/block/block-grid/components/block-grid-areas-container/block-grid-areas-container.element.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ export class UmbBlockGridAreasContainerElement extends UmbLitElement {
5353
});
5454
}
5555

56-
render() {
56+
override render() {
5757
return this._areas && this._areas.length > 0
5858
? html` ${this.#styleElement}
5959
<div

src/packages/block/block-grid/components/block-grid-block-inline/block-grid-block-inline.element.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ export class UmbBlockGridBlockInlineElement extends UmbLitElement {
3838
});
3939
}
4040

41-
render() {
41+
override render() {
4242
return html`<umb-ref-grid-block standalone .name=${this.label ?? ''} href=${this.urls?.editContent ?? ''}>
4343
<umb-property-type-based-property
4444
.property=${this._inlineProperty}

src/packages/block/block-grid/components/block-grid-block/block-grid-block.element.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ export class UmbBlockGridBlockElement extends UmbLitElement {
1616
@property({ attribute: false })
1717
urls?: UmbBlockViewUrlsPropType;
1818

19-
render() {
19+
override render() {
2020
return html`<umb-ref-grid-block standalone .name=${this.label ?? ''} href=${this.urls?.editContent ?? ''}>
2121
<umb-block-grid-areas-container slot="areas"></umb-block-grid-areas-container>
2222
</umb-ref-grid-block>`;

src/packages/block/block-grid/components/block-grid-entries/block-grid-entries.element.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ export class UmbBlockGridEntriesElement extends UmbFormControlMixin(UmbLitElemen
267267
}
268268

269269
// TODO: Missing ability to jump directly to creating a Block, when there is only one Block Type. [NL]
270-
render() {
270+
override render() {
271271
return html`
272272
${this._styleElement}
273273
<div class="umb-block-grid__layout-container" data-area-length=${this._layoutEntries.length}>

src/packages/block/block-grid/components/block-grid-entry/block-grid-entry.element.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@ export class UmbBlockGridEntryElement extends UmbLitElement implements UmbProper
286286
: nothing;
287287
}
288288

289-
render() {
289+
override render() {
290290
return this.#renderBlock();
291291
}
292292

src/packages/block/block-grid/components/block-scale-handler/block-scale-handler.element.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export class UmbBlockGridScaleHandlerElement extends UmbLitElement implements Um
1818
e.preventDefault();
1919
});
2020
}
21-
render() {
21+
override render() {
2222
return html`
2323
<button aria-label="TODO: Some introduction to keyboard scaling" id="handler"></button>
2424
<slot id="label"></slot>

src/packages/block/block-grid/property-editors/block-grid-area-type-permission/block-grid-area-type-permission.element.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ export class UmbPropertyEditorUIBlockGridAreaTypePermissionElement
9797
this.dispatchEvent(new UmbPropertyValueChangeEvent());
9898
}
9999

100-
render() {
100+
override render() {
101101
return html`<div id="permissions">
102102
${repeat(
103103
this._value,

src/packages/block/block-grid/property-editors/block-grid-areas-config/property-editor-ui-block-grid-areas-config.element.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ export class UmbPropertyEditorUIBlockGridAreasConfigElement
128128
}
129129

130130
// TODO: Needs localizations:
131-
render() {
131+
override render() {
132132
return this._areaGridColumns
133133
? html`${this._styleElement}
134134
<div

0 commit comments

Comments
 (0)