bootstrap-vue-next
Version:
Seamless integration of Vue 3, Bootstrap 5, and TypeScript for modern, type-safe UI development
16 lines (15 loc) • 432 B
JavaScript
const getActiveShowHide = (registry, id) => {
if (!id) return null;
if (!registry) return void 0;
const holder = registry.value.get(id);
return holder?.getActive();
};
const getShowHideValue = (registry, id) => {
const instance = getActiveShowHide(registry, id);
return instance?.value.value ?? false;
};
export {
getShowHideValue as a,
getActiveShowHide as g
};
//# sourceMappingURL=registryAccess-CjgwYkQG.mjs.map