Update new functions

This commit is contained in:
2026-04-06 03:19:15 +02:00
parent f9095332eb
commit 294547fc56
139 changed files with 2249 additions and 2109 deletions

View File

@@ -47,7 +47,7 @@ const BasicDemo = () => {
]
});
};
$mount(BasicDemo, '#demo-basic');
Mount(BasicDemo, '#demo-basic');
```
### With Icons (Items Array)
@@ -72,7 +72,7 @@ const IconsDemo = () => {
]
});
};
$mount(IconsDemo, '#demo-icons');
Mount(IconsDemo, '#demo-icons');
```
### Action Dropdown (Items Array)
@@ -100,7 +100,7 @@ const ActionsDemo = () => {
]
});
};
$mount(ActionsDemo, '#demo-actions');
Mount(ActionsDemo, '#demo-actions');
```
### User Dropdown (Items Array)
@@ -129,7 +129,7 @@ const UserDropdown = () => {
]
});
};
$mount(UserDropdown, '#demo-user');
Mount(UserDropdown, '#demo-user');
```
### Reactive Items
@@ -157,7 +157,7 @@ const ReactiveDropdown = () => {
items: items
});
};
$mount(ReactiveDropdown, '#demo-reactive');
Mount(ReactiveDropdown, '#demo-reactive');
```
### Notification Dropdown (Custom Children)
@@ -212,7 +212,7 @@ const NotificationsDropdown = () => {
])
});
};
$mount(NotificationsDropdown, '#demo-notifications');
Mount(NotificationsDropdown, '#demo-notifications');
```
### Custom Content Dropdown
@@ -249,7 +249,7 @@ const CustomDropdown = () => {
])
});
};
$mount(CustomDropdown, '#demo-custom');
Mount(CustomDropdown, '#demo-custom');
```
### All Variants
@@ -275,7 +275,7 @@ const VariantsDemo = () => {
Dropdown({ label: 'End Position', class: 'dropdown-end', items: commonItems })
]);
};
$mount(VariantsDemo, '#demo-variants');
Mount(VariantsDemo, '#demo-variants');
```
<script>
@@ -295,7 +295,7 @@ $mount(VariantsDemo, '#demo-variants');
]
});
};
$mount(BasicDemo, basicTarget);
Mount(BasicDemo, basicTarget);
}
// 2. With Icons (Items Array)
@@ -313,7 +313,7 @@ $mount(VariantsDemo, '#demo-variants');
]
});
};
$mount(IconsDemo, iconsTarget);
Mount(IconsDemo, iconsTarget);
}
// 3. Action Dropdown (Items Array)
@@ -334,7 +334,7 @@ $mount(VariantsDemo, '#demo-variants');
]
});
};
$mount(ActionsDemo, actionsTarget);
Mount(ActionsDemo, actionsTarget);
}
// 4. User Dropdown (Items Array)
@@ -356,7 +356,7 @@ $mount(VariantsDemo, '#demo-variants');
]
});
};
$mount(UserDropdown, userTarget);
Mount(UserDropdown, userTarget);
}
// 5. Reactive Items
@@ -377,7 +377,7 @@ $mount(VariantsDemo, '#demo-variants');
items: items
});
};
$mount(ReactiveDropdown, reactiveTarget);
Mount(ReactiveDropdown, reactiveTarget);
}
// 6. Notification Dropdown (Custom Children)
@@ -425,7 +425,7 @@ $mount(VariantsDemo, '#demo-variants');
])
});
};
$mount(NotificationsDropdown, notifTarget);
Mount(NotificationsDropdown, notifTarget);
}
// 7. Custom Content Dropdown
@@ -455,7 +455,7 @@ $mount(VariantsDemo, '#demo-variants');
])
});
};
$mount(CustomDropdown, customTarget);
Mount(CustomDropdown, customTarget);
}
// 8. All Variants
@@ -474,7 +474,7 @@ $mount(VariantsDemo, '#demo-variants');
Dropdown({ label: 'End Position', class: 'dropdown-end', items: commonItems })
]);
};
$mount(VariantsDemo, variantsTarget);
Mount(VariantsDemo, variantsTarget);
}
};