I have added an ellipse image,on hover i am seeing the html tag
How to avoid it?
|
this.commands = [
{
title: 'Image',
buttonOption: {
content:
'<img style="width:30px;height:30px" src="https://user-images.githubusercontent.com/263237/36633897-d3237f2e-19ad-11e8-960a-daaf5ca3088a.png">',
cssClass: 'e-flat ellipse'
}
}
]; |
Is there a way to disable the click and show the icon as disabled?
I am using the command button
|
this.commands = [
{
type: 'Delete',
buttonOption: {
iconCss: 'e-icons e-delete',
cssClass: 'e-flat disable'
}
}
];
|
|
<style>
.disable {
pointer-events: none;
opacity: 0.5;
}
</style> |