Merge pull request #463 from lpil/js-dom-selectors
Added JS DOM element selector snippets
This commit is contained in:
commit
ebf6fb2383
@ -205,3 +205,11 @@ snippet prop
|
|||||||
configurable : ${0:boolean}
|
configurable : ${0:boolean}
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
snippet by.
|
||||||
|
${document}.getElementsByClassName('${class name})
|
||||||
|
snippet by#
|
||||||
|
${document}.getElementById('${element ID})
|
||||||
|
snippet qs
|
||||||
|
${document}.querySelector('${selectors})
|
||||||
|
snippet qsa
|
||||||
|
${document}.querySelectorAll('${selectors})
|
||||||
|
Loading…
Reference in New Issue
Block a user