Skip to content

Commit f0b12a2

Browse files
author
Ryan A. Johnson
committed
docs(icons): fix vue demo for IE
1 parent ac8bf18 commit f0b12a2

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

docs/components/icons/icon-demo.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,9 @@ if (document.getElementById('vue-iconDemo')) {
4646
},
4747
},
4848
computed: {
49+
searchPlaceholder: function () {
50+
return `Search ${this.icons.length} icons for...`;
51+
},
4952
downcaseFilter: function () {
5053
return this.filter.toLowerCase();
5154
},

docs/components/icons/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ <h2 id="available-icons">Icons</h2>
8686
<div class="hxCol hxSpan-12-xs hxSpan-6-md hxSpan-4-xl">
8787
<p>
8888
<hx-search
89-
:placeholder="`Search ${icons.length} icons for...`"
89+
:placeholder="searchPlaceholder"
9090
:value="filter"
9191
@input="onFilterUpdate"
9292
@clear="onFilterUpdate"

0 commit comments

Comments
 (0)