(component?: any)
| 911 | * @param component The component to optionally construct and append to the element. |
| 912 | */ |
| 913 | const attachViewToDom = async (component?: any) => { |
| 914 | const { delegate } = getDelegate(true); |
| 915 | if (delegate) { |
| 916 | return await delegate.attachViewToDom(ref.el, component); |
| 917 | } |
| 918 | const { hasController } = ref; |
| 919 | if (hasController && component !== undefined) { |
| 920 | throw new Error('framework delegate is missing'); |
| 921 | } |
| 922 | return null; |
| 923 | }; |
| 924 | |
| 925 | /** |
| 926 | * Moves a component back to its original location in the DOM. |
nothing calls this directly
no test coverage detected