JavaScript UI Libraries & Blazor Components Suite – Smart UI › Forums › Buttons › basic usage › Reply To: basic usage
April 21, 2020 at 5:30 pm
#100709
Keymaster
Hi,
These files are included in the button module.
smart.button.js in modules is a bundle of the necessary files, one of which is smart.element.js. You may look at the online samples, too.
As far as I see you’re using it with Lit Element which creates a Shadow DOM, then you should add the smart.default.css within that Shadow DOM. Otherwise, as the shadow dom is isolated, that will not allow the outside CSS to style elements in the shadow dom.
Regards,
Boyko