Closed drewrawitz closed 4 years ago
It would be great if we could access the disabled state in the slot scope:
disabled
<swipe-out class="swipe-row" :disabled="isDisabled(exercise)"> <template v-slot="{ revealed, revealLeft, revealRight, disabled, close }"> Disabled status: {{ disabled }} </template> </swipe-out>
I think it's a simple one line fix in the SwipeOut.js component. Happy to open up a PR if that's easier!
SwipeOut.js
It would be great if we could access the
disabled
state in the slot scope:I think it's a simple one line fix in the
SwipeOut.js
component. Happy to open up a PR if that's easier!