function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Pasan   EeriyagamaPasan Eeriyagama 

How to print Lightning icon?

We're having below markup in Lightning component.
<lightning:icon aura:id="statusIcon" iconName="action:check" size="xx-small"/>

When java-script is controller prints the page with this component, seems like it's omitting this icon.

is used to print the page.

Is there a way I can get this icon on printed output? Appreciate any help. Thanks.
Suraj TripathiSuraj Tripathi
  I have tried "action:check" icon using "lightning:icon" but this is not working on print page .
  please try this code . I hope it will be helpful for you.
<lightning:button iconName="action:check" />

Pasan   EeriyagamaPasan Eeriyagama
Hi suraj,

Thanks. Unfortunately It did not work either. I used firefox for this.