Download sd-webui-openpose-editor/src/components/LockSwitch.vue from jun34GTR/exqq: direct link, hf CLI and curl.
- Browser
- Download file 755 Bytes
-
https://huggingface.co/jun34GTR/exqq/resolve/main/sd-webui-openpose-editor/src/components/LockSwitch.vue
- Command line
-
hf download hf://jun34GTR/exqq/sd-webui-openpose-editor/src/components/LockSwitch.vue
-
curl -L -o LockSwitch.vue https://huggingface.co/jun34GTR/exqq/resolve/main/sd-webui-openpose-editor/src/components/LockSwitch.vue
755 Bytes
| <script lang="ts"> | |
| import { LockOutlined, UnlockOutlined } from '@ant-design/icons-vue'; | |
| import IconSwitch from './IconSwitch.vue'; | |
| export default { | |
| props: { | |
| locked: { | |
| type: Boolean, | |
| required: true, | |
| }, | |
| }, | |
| components: { | |
| LockOutlined, UnlockOutlined, IconSwitch, | |
| }, | |
| }; | |
| </script> | |
| <template> | |
| <div class="lock-switch" title="Lock/Unlock object"> | |
| <IconSwitch :model-value="locked" @update:modelValue="$emit('update:locked', $event)"> | |
| <template #enable-state> | |
| <lock-outlined></lock-outlined> | |
| </template> | |
| <template #disable-state> | |
| <unlock-outlined></unlock-outlined> | |
| </template> | |
| </IconSwitch> | |
| </div> | |
| </template> | |