Closed dfang closed 11 years ago
for this line:
$(window).on('resize.fittext orientationchange.fittext', resizer);
why the event name is " resize.fittext orientationchange.fittext " , not "resize orientationchange" ?
thanks !
It's a custom event. Sorta like jquery's way of namespacing an event do you can unbind just that function:
// How to destroy FitText $(window).off('resize.fittext');
@davatron5000 cool, thank you !
for this line:
why the event name is " resize.fittext orientationchange.fittext " , not "resize orientationchange" ?
thanks !