mirror of
https://github.com/discourse/discourse.git
synced 2024-11-26 12:53:42 +08:00
cef1dcfc7d
In particular, this allows us to use gjs `<template>` for RenderGlimmer, registerWidgetShim, and decorateCooked's `helper.renderGlimmer`. ```js // Simple component class: registerWidgetShim( "render-glimmer-test-component-shim", "div.initial-wrapper-class", SimpleComponent ); ``` ```gjs // Or an inline `<template>` registerWidgetShim( "render-glimmer-test-component-shim", "div.initial-wrapper-class", <template>Hello world</template> ); ``` |
||
---|---|---|
.. | ||
assets | ||
controllers | ||
helpers | ||
jobs | ||
mailers | ||
models | ||
serializers | ||
services | ||
views |