タグ

jQueryとjsに関するsnomofのブックマーク (1)

  • Plugins | jQuery Learning Center

    A jQuery plugin is simply a new method that we use to extend jQuery's prototype object. By extending the prototype object you enable all jQuery objects to inherit any methods that you add. As established, whenever you call jQuery() you're creating a new jQuery object, with all of jQuery's methods inherited. The idea of a plugin is to do something with a collection of elements. You could consider e

    snomof
    snomof 2013/05/19
    jQueryでのプラグインのつくり方。ここに書いてあることを実践すれば拡張しやすくて使い勝手の良いプラグインが作れる。
  • 1