2
0
mirror of https://github.com/iconify/iconify.git synced 2024-12-13 14:13:06 +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 /> <LoadingTest />
<StyleTest /> <StyleTest />
<InlineTest /> <InlineTest />
<VueAttributesTest />
</div> </div>
</template> </template>
@ -50,6 +51,7 @@ import FullUsageDemo from './demo-components/UsageFull.vue';
import LoadingTest from './test-components/LoadingDemo.vue'; import LoadingTest from './test-components/LoadingDemo.vue';
import StyleTest from './test-components/Style.vue'; import StyleTest from './test-components/Style.vue';
import InlineTest from './test-components/Inline.vue'; import InlineTest from './test-components/Inline.vue';
import VueAttributesTest from './test-components/VueAttributes.vue';
// Disable cache // Disable cache
disableCache('all'); disableCache('all');
@ -111,6 +113,7 @@ export default {
LoadingTest, LoadingTest,
StyleTest, StyleTest,
InlineTest, InlineTest,
VueAttributesTest,
}, },
}; };
</script> </script>

View File

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