2
0
mirror of https://github.com/iconify/iconify.git synced 2024-11-08 14:20:57 +00:00

Test title attribute in Vue demo

This commit is contained in:
Vjacheslav Trushkin 2022-06-18 21:48:52 +03:00
parent ddede9ee3a
commit b18e9b7f52
2 changed files with 5 additions and 2 deletions

View File

@ -25,6 +25,7 @@
<LoadingTest />
<StyleTest />
<InlineTest />
<VueAttributesTest />
</div>
</template>
@ -50,6 +51,7 @@ import FullUsageDemo from './demo-components/UsageFull.vue';
import LoadingTest from './test-components/LoadingDemo.vue';
import StyleTest from './test-components/Style.vue';
import InlineTest from './test-components/Inline.vue';
import VueAttributesTest from './test-components/VueAttributes.vue';
// Disable cache
disableCache('all');
@ -111,6 +113,7 @@ export default {
LoadingTest,
StyleTest,
InlineTest,
VueAttributesTest,
},
};
</script>

View File

@ -2,8 +2,8 @@
<section>
<h1>Vue attributes (components/VueAttributes.vue)</h1>
<div>
Icon with color (red):
<Icon :icon="icon" color="red" />
Icon with color (red) and title:
<Icon :icon="icon" color="red" title="Red icon" />
</div>
<div>
Icon size (2em):