How do you print your components? #4050
Unanswered
briandipalma
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I have a requirement where I need to print an FX trade summary. It's easy enough to get the DOM using a
refand doing aninnerHTMLinto aniframe. The styles of course are all missing. Using server side rendering in the client rendering flow I can gather the styles like so:They are gathered and I can use them in the
iframebut they aren't applied in the app. Ideally what I'd like to do is gather them but still apply them to the app. In essence client side styles gathering. Is there an easy way to do this or should I just manage my ownstyletag using the server side rendering strings?All reactions