File tree Expand file tree Collapse file tree 9 files changed +11
-15
lines changed Expand file tree Collapse file tree 9 files changed +11
-15
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ const defaultPt = ref<BreadcrumbPassThroughOptions>({
1616
1717type BreadcrumbType = InstanceType <typeof Breadcrumb >;
1818const childRef = useTemplateRef <BreadcrumbType >(' child-ref' );
19- defineExpose ({ el: childRef });
19+ defineExpose ({ $ el: childRef });
2020 </script >
2121
2222<template >
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ type ContextMenuType = InstanceType<typeof ContextMenu>;
1414const childRef = useTemplateRef <ContextMenuType >(' child-ref' );
1515
1616defineExpose ({
17- el: childRef ,
17+ $ el: childRef ,
1818 toggle : (event : Event ) => childRef .value ?.toggle (event )
1919});
2020 </script >
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ type MenuType = InstanceType<typeof Menu>;
1313const childRef = useTemplateRef <MenuType >(' child-ref' );
1414
1515defineExpose ({
16- el: childRef ,
16+ $ el: childRef ,
1717 toggle : (event : Event ) => childRef .value ?.toggle (event )
1818});
1919 </script >
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ const componentProps = withDefaults(
1616type MenubarType = InstanceType <typeof Menubar >;
1717const childRef = useTemplateRef <MenubarType >(' child-ref' );
1818
19- defineExpose ({ el: childRef });
19+ defineExpose ({ $ el: childRef });
2020 </script >
2121
2222<template >
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ const defaultPt: PanelMenuPassThroughOptions = {
1919
2020type PanelMenuType = InstanceType <typeof PanelMenu >;
2121const childRef = useTemplateRef <PanelMenuType >(' child-ref' );
22- defineExpose ({ el: childRef });
22+ defineExpose ({ $ el: childRef });
2323 </script >
2424
2525<template >
Original file line number Diff line number Diff line change @@ -24,9 +24,7 @@ const currentRoute = computed(() => {
2424
2525type TabsType = InstanceType <typeof Tabs >;
2626const childRef = useTemplateRef <TabsType >(' child-ref' );
27- defineExpose ({
28- el: childRef ,
29- });
27+ defineExpose ({ $el: childRef });
3028 </script >
3129
3230<template >
Original file line number Diff line number Diff line change @@ -13,9 +13,7 @@ const componentProps = defineProps<ExtendedTieredMenuProps>();
1313type TieredMenuType = InstanceType <typeof TieredMenu >;
1414const childRef = useTemplateRef <TieredMenuType >(' child-ref' );
1515
16- defineExpose ({
17- el: childRef ,
18- });
16+ defineExpose ({ $el: childRef });
1917 </script >
2018
2119<template >
Original file line number Diff line number Diff line change @@ -29,12 +29,12 @@ const {
2929
3030const userMenu = useTemplateRef (' user-menu' );
3131const toggleUserMenu = (event ) => {
32- userMenu .value .el .toggle (event );
32+ userMenu .value .$ el .toggle (event );
3333};
3434
3535const mobileUserMenu = useTemplateRef (' mobile-user-menu' );
3636const toggleMobileUserMenu = (event ) => {
37- mobileUserMenu .value .el .toggle (event );
37+ mobileUserMenu .value .$ el .toggle (event );
3838};
3939 </script >
4040
Original file line number Diff line number Diff line change @@ -27,12 +27,12 @@ const {
2727
2828const userMenu = useTemplateRef (' user-menu' );
2929const toggleUserMenu = (event ) => {
30- userMenu .value .el .toggle (event );
30+ userMenu .value .$ el .toggle (event );
3131};
3232
3333const mobileUserMenu = useTemplateRef (' mobile-user-menu' );
3434const toggleMobileUserMenu = (event ) => {
35- mobileUserMenu .value .el .toggle (event );
35+ mobileUserMenu .value .$ el .toggle (event );
3636};
3737 </script >
3838
You can’t perform that action at this time.
0 commit comments