Question:
How do I automatically execute a function whenever my
<paper-dialog>
element is closed?
Version: Polymer 1.0
Code:
<paper-dialog id="paper-id"
entry-animation="scale-up-animation"
exit-animation="scale-down-animation">
<sample-element></sample-element>
</paper-dialog>
paper-dialog
inherits thePolymer.IronOverlayBehavior
, which has theiron-overlay-opened
andiron-overlay-closed
events.iron-overload-opened
event)