It can't show icons in action buttons, when I inspect the page, it doesn't load me ":: before"
I can't see icons in buttons!
How can I replace ionicons for eva icons.
I added the smart table to my project but I was not successful in showing icons of the eva icons package. I follow this guide:
https://github.com/akveo/ng2-smart-table
working example in http://akveo.com/ngx-admin/pages/tables/smart-table
<a class="ng2-smart-action ng2-smart-action-add-add ng-star-inserted" href="#">
<i class="nb-plus">
::before == $0
</i></a>
my code at inspection
<a class="ng2-smart-action ng2-smart-action-add-add ng-star-inserted" href="#"> == $0
<i class="nb-plus"></i></a>
my settings:
settings = {
add: {
addButtonContent: '<i class="nb-plus"></i>',
createButtonContent: '<i class="nb-checkmark"></i>',
cancelButtonContent: '<i class="nb-close"></i>',
},
edit: {
editButtonContent: '<i class="nb-edit"></i>',
saveButtonContent: '<i class="nb-checkmark"></i>',
cancelButtonContent: '<i class="nb-close"></i>',
},
delete: {
deleteButtonContent: '<i class="nb-trash"></i>',
confirmDelete: true,
},
columns: {
id: {
title: 'ID',
type: 'number',
},
firstName: {
title: 'First Name',
type: 'string',
},
lastName: {
title: 'Last Name',
type: 'string',
},
username: {
title: 'Username',
type: 'string',
},
email: {
title: 'E-mail',
type: 'string',
},
age: {
title: 'Age',
type: 'number',
},
},
};
I need to change and display the icons on the action buttons