开发者

how to make jQuery plugin return the wrapped set?

开发者 https://www.devze.com 2022-12-25 02:34 出处:网络
how can we make the jQuery plugnin to return the wrapped set?so that using the plugin does not make the code loo开发者_如何学运维se the chaining property.Add

how can we make the jQuery plugnin to return the wrapped set?so that using the plugin does not make the code loo开发者_如何学运维se the chaining property.


Add

return this;

To the end of your function.

0

精彩评论

暂无评论...
验证码 换一张
取 消