Skip to content
- `matrix-event` now uses `displayTemplate` (similar to previous `formTemplate`) to display an event's content by its type, using a custom web-component (user defined)
- `matrix-event` > `matrix-event-content` → inserts the content of the `displayTemplate` and assign the `event=""` attribute on the first children HTML (JSON stringify)
- use the folder `src/template/:matrix.event.type/{form,display}.js` for modular registration of each of an "event's components" (display and form)
- create `matrix-event-room-message` for default `m.room.message` event type, and example of other types