You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Removed the deprecated `UI5Element#render` method of the UI5Element class and replaced it with `UI5Element#renderer`.
BREAKING CHANGE: Removed `UI5Element#render` method in favour of `UI5Element#renderer`. If you previously used "render"
```js
class MyClass extends UI5Element {
static get render() {
return litRenderer;
}
}
```
start using "renderer"
```ts
class MyClass extends UI5Element {
static get renderer() {
return litRenderer;
}
}
```
Related to [#8461](#8461)
Copy file name to clipboardexpand all lines: docs/5-development/02-custom-UI5-Web-Components.md
+9-9
Original file line number
Diff line number
Diff line change
@@ -34,7 +34,7 @@ class Demo extends UI5Element {
34
34
return metadata;
35
35
}
36
36
37
-
staticgetrender() {
37
+
staticgetrenderer() {
38
38
return litRender;
39
39
}
40
40
@@ -108,7 +108,7 @@ For a complete reference to all metadata entities, click [here](./03-understandi
108
108
UI5 Web Components are agnostic of the DOM render engine used. However, all standard UI5 Web Components (`@ui5/webcomponents`, `@ui5/webcomponents-fiori`, etc.)
109
109
use [lit-html](https://github.com/Polymer/lit-html) as the rendering technology of choice.
110
110
111
-
The render engine is defined via the `render` static getter:
111
+
The render engine is defined via the `renderer` static getter:
Copy file name to clipboardexpand all lines: docs/5-development/07-typescript-in-UI5-Web-Components.md
-2
Original file line number
Diff line number
Diff line change
@@ -70,8 +70,6 @@ class MyElement extends UI5Element {
70
70
}
71
71
```
72
72
73
-
**Note**: the `static get render()` that we use when developing in JavaScript (still supported for backward compatibility) is replaced with **`renderer`** in the `@customElement` decorator.
74
-
75
73
### Property decorators
76
74
77
75
These are used inside the class and are associated with accessors (class members).
0 commit comments