add dynamic css class in angular 6 code example
Example 1: Angular add class dynamically
Example 2: Angular add class dynamically
buttons: Array<{label: string}> = [
{
label: 'Global'
},
{
label: 'Maintenance'
},
{
label: 'Settings'
},
{
label: 'Profile'
},
{
label: 'Transactions'
}
]