Constructors

Methods

  • element에서 vnode props 조회

    Parameters

    • elOrInstance: any

      Element or Vue component

    • addAttrs: boolean = false

      with attrs when vue component

    Returns any

  • el 또는 instance에서 Vue Component 객체를 조회

    Parameters

    • elOrInstance: any

      Element or Vue component

    Returns any

  • el 또는 instance에서 Vue Component 객체를 조회

    Parameters

    • elOrInstance: any

      Element or Vue component

    Returns any

  • 컴포넌트를 동적 mount

    Parameters

    • component: any
    • instance: ComponentInternalInstance
    • __namedParameters: {
          children?: any;
          element?: any;
          props?: any;
      } = ...
      • Optional children?: any
      • Optional element?: any
      • Optional props?: any

    Returns {
        destroy: (() => void);
        el: any;
        vNode: VNode<RendererNode, RendererElement, {
            [key: string]: any;
        }>;
    }

    const root = ref<HTMLDivElement>(null)
    onMounted(() => {
    const { el } = component.mount(UButton, {
    app: useNuxtApp().vueApp,
    props: {
    text: 'Test',
    },
    children: undefined,
    element: undefined,
    })
    root.value.appendChild(el)
    })

Generated using TypeDoc