-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathtest.html
More file actions
25 lines (25 loc) · 826 Bytes
/
test.html
File metadata and controls
25 lines (25 loc) · 826 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<html>
<body>
<p> Minicons Icon Resolver </p>
<div id="test-icons"></div>
<script src="dist/minicons.min.js"></script>
<script>
minicons.icons.forEach(icon => {
const iconElement = document.createElement('i');
const testIcons = document.getElementById('test-icons');
iconElement.setAttribute('data-minicon', icon.name);
testIcons.appendChild(iconElement);
});
minicons.setOptions({
"observe" : true,
"config" : {
"name" : "theme_config",
"props" : {
"stroke" : "#ff0060"
}
}
});
minicons.swap();
</script>
</body>
</html>