mirror of
https://akkoma.dev/AkkomaGang/akkoma-fe.git
synced 2025-02-26 23:23:06 +01:00
21 lines
383 B
Vue
21 lines
383 B
Vue
<template>
|
|
<label
|
|
class="BooleanSetting"
|
|
>
|
|
<Checkbox
|
|
:checked="state"
|
|
:disabled="disabled"
|
|
@change="update"
|
|
>
|
|
<span
|
|
v-if="!!$slots.default"
|
|
class="label"
|
|
>
|
|
<slot />
|
|
</span>
|
|
<ModifiedIndicator :changed="isChanged" />
|
|
</Checkbox>
|
|
</label>
|
|
</template>
|
|
|
|
<script src="./boolean_setting.js"></script>
|