Onpreviewing / Onpreviewed event handle
Plaese press F12, open the develop tools.
##Onpreviewing / Onpreviewed