开发者

merging json in jquery-ui

开发者 https://www.devze.com 2022-12-21 16:33 出处:网络
What function does jquery ui use to override the default options pa开发者_如何学编程ssed to a plugin on init?

What function does jquery ui use to override the default options pa开发者_如何学编程ssed to a plugin on init?

My plugin has an option that defaults to "false" and if you specify "true" it does something else. And if you specify an object (a json with more jsons nested) you open a whole bunch of possibilities. i want to set defaults for these options i know that ui is doing the same thing for standard "defaults" set, so where can i find that function?


This question was answered on the jQuery forum

It's jQuery.extend

0

精彩评论

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