David-Desmaisons / Vue.resize

Vue directive to detect resize events with deboucing and throttling capacity.
MIT License
326 stars 36 forks source link

would you add some warning tips #1

Closed anhzhi closed 6 years ago

anhzhi commented 7 years ago

before the codeline: let callBack = () => value(el) would you add some checklist like: if (!value){ console.warning(method or v-resize is not implemented as to $el) }

David-Desmaisons commented 7 years ago

That makes sense, I will add something like this in next version.