| 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 : C:/framework7/node_modules/framework7-vue/components/ |
Upload File : |
import { renderSlot as _renderSlot, normalizeClass as _normalizeClass, openBlock as _openBlock, createElementBlock as _createElementBlock } from "vue";
function render(_ctx, _cache) {
return _openBlock(), _createElementBlock("div", {
class: _normalizeClass(_ctx.classes)
}, [_renderSlot(_ctx.$slots, "default")], 2);
}
import { computed } from 'vue';
import { classNames } from '../shared/utils.js';
import { colorClasses, colorProps } from '../shared/mixins.js';
export default {
name: 'f7-swipeout-actions',
render,
props: {
left: Boolean,
right: Boolean,
side: String,
...colorProps
},
setup(props) {
const side = computed(() => {
let sideComputed = props.side;
if (!sideComputed) {
if (props.left) sideComputed = 'left';
if (props.right) sideComputed = 'right';
}
return sideComputed;
});
const classes = computed(() => classNames(`swipeout-actions-${side.value}`, colorClasses(props)));
return {
classes
};
}
};