mirror of
https://github.com/iconify/iconify.git
synced 2024-12-13 06:07:50 +00:00
Test title attribute in Vue demo
This commit is contained in:
parent
ddede9ee3a
commit
b18e9b7f52
@ -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>
|
||||
|
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user