David Taylor 6c5efb61c9
DEV: Introduce RenderGlimmer helper for use in widgets (#17592)
This allows an arbitrary Glimmer template to be rendered inside a Widget. That template can include any kind content, including Classic Ember components and Glimmer components. This leans on Ember's official `{{#in-element}}` helper which means that all component lifecycle hooks are called correctly.

This is a modern replacement for our existing `ComponentConnector` implementation. We'll deprecate `ComponentConnector` in the near future.

Example usage:

```javascript
// (inside an existing widget)
html(){
  return [
    new RenderGlimmer(
      this,
      "div.my-wrapper-class",
      hbs`<MyComponent @arg1={{@data.arg1}} />`,
      {
        arg1: "some argument value"
      }
    ),
  ]
}
```

See `widgets/render-glimmer.js` for documentation, and `render-glimmer-test` for more example uses.
2022-07-21 18:58:52 +01:00
..
2022-07-19 10:00:59 +01:00
2022-07-19 10:00:59 +01:00
2022-07-19 10:00:59 +01:00
2022-07-19 10:00:59 +01:00
2022-07-19 10:00:59 +01:00
2022-07-19 10:00:59 +01:00
2021-08-04 22:04:58 +02:00
2022-07-19 10:00:59 +01:00