Skip to main content

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.

 

window.print();

is used to print the page.

Is there a way I can get this icon on printed output? Appreciate any help. Thanks.
2 answers
  1. Dec 6, 2017, 11:04 AM
    Hi,

      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" />

     Regards,

     Suraj

     
0/9000