This commit is contained in:
mertsincan 2024-02-11 08:10:29 +00:00
parent a9164bdbde
commit dd84dbbb60
33 changed files with 82 additions and 44 deletions

View file

@ -28,10 +28,13 @@ import BaseInputSwitch from './BaseInputSwitch.vue';
export default {
name: 'InputSwitch',
extends: BaseInputSwitch,
inheritAttrs: false,
emits: ['update:modelValue', 'change', 'focus', 'blur'],
methods: {
getPTOptions(key) {
return this.ptm(key, {
const _ptm = root === 'root' ? this.ptmi : this.ptm;
return _ptm(key, {
context: {
checked: this.checked,
disabled: this.disabled