javascript & jQuery

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

k9e4h 2018. 3. 14. 17:13


https://stackoverflow.com/questions/10507100/what-is-el-in-relationship-to-javascript-html-jquery


el is just an identifier and it refers to an element, a DOM element, which is a convention in that library.


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









내가 찾던건 이것


https://angular.io/api/core/ElementRef


constructor에서 el을 선언하면 현재 component에서 사용하는 element만 가져옴,

그냥하면 모든 component에서 element를 찾음

반응형

'javascript & jQuery' 카테고리의 다른 글

[JQUERY] Double exclamation points, 느낌표 두개, !!  (0) 2018.05.21
.SVG (Scalable Vector Graphics)  (0) 2018.03.29
암호화  (0) 2018.02.13
XMLHttpRequest()  (0) 2018.02.02
실시간웹  (0) 2018.01.25