| Server IP : 209.209.40.120 / Your IP : 216.73.217.112 Web Server : Microsoft-IIS/10.0 System : Windows NT NEWWWW 10.0 build 17763 (Windows Server 2019) i586 User : NEWWWW$ ( 0) PHP Version : 8.3.30 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /framework7/node_modules/framework7-vue/components/ |
Upload File : |
import { toDisplayString as _toDisplayString, renderSlot as _renderSlot, createTextVNode as _createTextVNode, normalizeClass as _normalizeClass, openBlock as _openBlock, createElementBlock as _createElementBlock } from "vue";
const _hoisted_1 = ["href", "data-confirm", "data-confirm-title"];
function render(_ctx, _cache) {
return _openBlock(), _createElementBlock("a", {
href: _ctx.href || '#',
"data-confirm": _ctx.confirmText || undefined,
"data-confirm-title": _ctx.confirmTitle || undefined,
class: _normalizeClass(_ctx.classes),
onClick: _cache[0] || (_cache[0] = function () {
return _ctx.onClick && _ctx.onClick(...arguments);
})
}, [_createTextVNode(_toDisplayString(_ctx.text) + " ", 1), _renderSlot(_ctx.$slots, "default")], 10, _hoisted_1);
}
import { computed } from 'vue';
import { classNames } from '../shared/utils.js';
import { colorClasses, colorProps } from '../shared/mixins.js';
export default {
name: 'f7-swipeout-button',
render,
props: {
text: String,
confirmTitle: String,
confirmText: String,
overswipe: Boolean,
close: Boolean,
delete: Boolean,
href: String,
...colorProps
},
emits: ['click'],
setup(props, _ref) {
let {
emit
} = _ref;
const onClick = e => {
emit('click', e);
};
const classes = computed(() => classNames({
'swipeout-overswipe': props.overswipe,
'swipeout-delete': props.delete,
'swipeout-close': props.close
}, colorClasses(props)));
return {
classes,
onClick
};
}
};