UNPKG

comic-plus

Version:

<p align="center"> <img width="200px" src="./logo.png"/> </p>

26 lines (25 loc) 724 B
"use strict"; Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" }); const switchProps = { modelValue: [Boolean, String, Number], onText: String, offText: String, onValue: [String, Number], offValue: [String, Number], onColor: String, offColor: String, disabled: Boolean, square: Boolean, inlineText: Boolean, onIcon: [String, Object], offIcon: [String, Object], beforeChange: Function, loading: Boolean, size: String }; const switchEmits = { ["update:modelValue"]: (val) => ["boolean", "string", "number"].includes(typeof val), change: (val) => ["boolean", "string", "number"].includes(typeof val) }; exports.switchEmits = switchEmits; exports.switchProps = switchProps;