Our blazing fast Grid component built with pure JavaScript


Post by scebotari66 »

Hello team!

Buttons automatically add the "fa" class to icon elements when the icon config starts with "fa-", but panels don't. Please make panels behave the same way for consistency.

https://codepen.io/scebotari66/pen/QwKZvjm

new Panel({
  appendTo: document.body,
  title: "Panel",
  icon: "fa-save",
  // icon: "fa fa-save", // THIS WORKS
  tbar: {
    items: {
      save: {
        icon: "fa-save",
        text: "Save content"
      }
    }
  }
});

Regards,
Serghei Cebotari


Post by Animal »


Post by scebotari66 »

Great, thanks!

Regards,
Serghei Cebotari


Post Reply