parent
95484d43a4
commit
d6322b78ee
|
@ -114,7 +114,7 @@ import Button from 'primevue/button';
|
|||
<Button>
|
||||
Custom Content
|
||||
</Button>
|
||||
</CodeHighlight>
|
||||
</CodeHighlight>
|
||||
|
||||
<h5>Properties</h5>
|
||||
<p>Any property such as style and class are passed to the underlying button element. Following are the additional properties to configure the component.</p>
|
||||
|
|
|
@ -75,9 +75,9 @@ export default {
|
|||
axios.get('demo/data/icons.json').then(res => {
|
||||
let icons = res.data.icons;
|
||||
icons.sort((icon1, icon2) => {
|
||||
if(icon1.properties.name < icon2.properties.name)
|
||||
if(icon1.properties.name < icon2.properties.name)
|
||||
return -1;
|
||||
else if(icon1.properties.name < icon2.properties.name)
|
||||
else if(icon1.properties.name < icon2.properties.name)
|
||||
return 1;
|
||||
else
|
||||
return 0;
|
||||
|
|
Loading…
Reference in New Issue