Files
dsProject/dsBase/WebRoot/html/cdn/lib/components/link/src/link.js
2025-08-14 15:45:08 +08:00

31 lines
687 B
JavaScript

'use strict';
Object.defineProperty(exports, '__esModule', { value: true });
var props = require('../../../utils/props.js');
const linkProps = props.buildProps({
type: {
type: String,
values: ["primary", "success", "warning", "info", "danger", "default"],
default: "default"
},
underline: {
type: Boolean,
default: true
},
disabled: { type: Boolean, default: false },
href: { type: String, default: "" },
icon: {
type: props.definePropType([String, Object]),
default: ""
}
});
const linkEmits = {
click: (evt) => evt instanceof MouseEvent
};
exports.linkEmits = linkEmits;
exports.linkProps = linkProps;
//# sourceMappingURL=link.js.map