bootstrap-vue-next
Version:
Seamless integration of Vue 3, Bootstrap 5, and TypeScript for modern, type-safe UI development
17 lines (16 loc) • 668 B
JavaScript
require("./chunk-CoQrYLCe.js");
let vue = require("vue");
//#region src/composables/useAriaInvalid.ts
var useAriaInvalid = (ariaInvalid, state) => (0, vue.computed)(() => {
const resolvedAriaInvalid = (0, vue.toValue)(ariaInvalid);
const resolvedState = (0, vue.toValue)(state);
return resolvedAriaInvalid === true ? "true" : typeof resolvedAriaInvalid === "string" ? resolvedAriaInvalid : resolvedState === false ? "true" : resolvedAriaInvalid === false ? "false" : void 0;
});
//#endregion
Object.defineProperty(exports, "useAriaInvalid", {
enumerable: true,
get: function() {
return useAriaInvalid;
}
});
//# sourceMappingURL=useAriaInvalid-CsUHLhSs.js.map