What is “.el” in relationship to JavaScript/HTML/jQuery?

后端 未结 4 1901
梦如初夏
梦如初夏 2021-02-19 04:13

I couldn\'t find much from Googling, but I\'m probably Googling the wrong terms.

I\'m trying to understand what the \"el\" in \"$.el\" is from here: http://joestelmach.g

4条回答
  •  悲哀的现实
    2021-02-19 04:52

    el is a function that's been placed on the $ object, and can be invoked to generate DOM elements:

    $.el('table')
    

    el also acts as a placeholder for other objects, like the table function:

    $.el.table()
    

提交回复
热议问题