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
* Any component that has had its manager registered is valid.
57
+
* For the component-types that ship with ember, manager registration
58
+
* does not need to be worried about.
59
+
*/
60
+
component:object,
61
+
options: {
62
+
/**
63
+
* The element to render the component in to.
64
+
*/
65
+
into:IntoTarget;
66
+
67
+
/**
68
+
* Optional owner. Defaults to `{}`, can be any object, but will need to implement the [Owner](https://api.emberjs.com/ember/release/classes/Owner) API for components within this render tree to access services.
69
+
*/
70
+
owner?:object;
71
+
72
+
/**
73
+
* Configure the `document` and `isInteractive`
74
+
*/
75
+
env?: {
76
+
/**
77
+
* Defaults to globalThis.document.
78
+
*/
79
+
document?:SimpleDocument|Document;
80
+
81
+
/**
82
+
* When false, modifiers will not run.
83
+
*/
84
+
isInteractive?:boolean;
85
+
};
86
+
87
+
/**
88
+
* These args get passed to the rendered component
89
+
*/
90
+
args?:Record<string, unknown>;
61
91
}
62
92
):RenderResult|undefined {
63
93
/* ... implementation details ... */
@@ -70,13 +100,19 @@ It's shape is:
70
100
```ts
71
101
exportinterfaceRenderResult {
72
102
/**
73
-
* The element rendered in to
74
-
*/
75
-
parentElement():SimpleElement;
103
+
* The element rendered in to
104
+
*/
105
+
parentElement():SimpleElement;
106
+
107
+
/**
108
+
* Destroys the render tree and removes all rendered content from the element rendered into.
0 commit comments