Download web/src/components/tooltip.vue from jimlv/ssh: direct link, hf CLI and curl.
- Browser
- Download file 477 Bytes
-
https://huggingface.co/spaces/jimlv/ssh/resolve/main/web/src/components/tooltip.vue
- Command line
-
hf download hf://spaces/jimlv/ssh/web/src/components/tooltip.vue
-
curl -L -o tooltip.vue https://huggingface.co/spaces/jimlv/ssh/resolve/main/web/src/components/tooltip.vue
477 Bytes
| <template> | |
| <el-tooltip | |
| effect="dark" | |
| :show-after="showAfter" | |
| :hide-after="0" | |
| :content="content" | |
| placement="bottom" | |
| > | |
| <slot /> | |
| </el-tooltip> | |
| </template> | |
| <script> | |
| export default { | |
| name: 'Tooltip', | |
| props: { | |
| showAfter: { | |
| required: false, | |
| type: Number, | |
| default: 1000 | |
| }, | |
| content: { | |
| required: true, | |
| type: String | |
| } | |
| }, | |
| data() { | |
| return { | |
| } | |
| } | |
| } | |
| </script> | |
| <style lang="scss" scoped> | |
| </style> | |