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:
parent
ddede9ee3a
commit
b18e9b7f52
@ -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>
|
||||||
|
@ -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):
|
||||||
|
Loading…
Reference in New Issue
Block a user