MCPcopy Index your code
hub / github.com/ionic-team/ionic-framework / removeViewFromDom

Function removeViewFromDom

core/src/utils/overlays.ts:928–933  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

926 * Moves a component back to its original location in the DOM.
927 */
928 const removeViewFromDom = () => {
929 const { delegate } = getDelegate();
930 if (delegate && ref.el !== undefined) {
931 delegate.removeViewFromDom(ref.el.parentElement, ref.el);
932 }
933 };
934
935 return {
936 attachViewToDom,

Callers

nothing calls this directly

Calls 2

getDelegateFunction · 0.85
removeViewFromDomMethod · 0.65

Tested by

no test coverage detected