1

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.

4
  • Seems like only icon type - Doctype and Utility are visible when printed.
    – Raul
    Dec 5, 2017 at 10:16
  • @RahulSharma Thanks, even utility:check did not print when I tried. I used print to PDF to view the output. Dec 5, 2017 at 23:25
  • Can you add post some code which is not working as expected?
    – Raul
    Dec 6, 2017 at 7:48
  • Hi @RahulSharma it's the same code with different icon type as you suggested. I tested in firefox. <lightning:icon aura:id="statusIcon" iconName="utility:check" size="xx-small"/> Dec 7, 2017 at 0:23

0

You must log in to answer this question.