You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First of all, I would like to thank you for this library. I've tried a dozen different libraries for this, and none of them even came close to printing a file that matches the real HTML visualization as this one.
My problem is regarding denoting page endings. Let me show an example:
The content I want to print is a ngFor of a card with variable height (it includes a lot of other components inside it and I can't predict that each card will have a fixed size).
Printing the element shows the components as expected, but since they have different heights, sometimes the page ends don't match the end of the card, so we get cases of one card ending mid-page and another card already right next to it.
The expected behavior I would like is that this card, that would start mid-page, be bumped to the next page, so we don't mix those two cards.
I couldn't find anything in the documentation about it, but something like adding a directive inside the card, that bumps it into the next page, would work.
Is there anything implemented in regards to this use-case?
Thank you.
Edit: I tried break-after and break-before CSS attributes, but none of them seemed to work with Material Angular on Chrome.
The text was updated successfully, but these errors were encountered:
First of all, I would like to thank you for this library. I've tried a dozen different libraries for this, and none of them even came close to printing a file that matches the real HTML visualization as this one.
My problem is regarding denoting page endings. Let me show an example:
The content I want to print is a ngFor of a card with variable height (it includes a lot of other components inside it and I can't predict that each card will have a fixed size).
Printing the element shows the components as expected, but since they have different heights, sometimes the page ends don't match the end of the card, so we get cases of one card ending mid-page and another card already right next to it.
The expected behavior I would like is that this card, that would start mid-page, be bumped to the next page, so we don't mix those two cards.
I couldn't find anything in the documentation about it, but something like adding a directive inside the card, that bumps it into the next page, would work.
Is there anything implemented in regards to this use-case?
Thank you.
Edit: I tried break-after and break-before CSS attributes, but none of them seemed to work with Material Angular on Chrome.
The text was updated successfully, but these errors were encountered: