Skip to content

transfers Html elements to JavaScript variables

Notifications You must be signed in to change notification settings

wd21th/SelectorJs

Repository files navigation

querySelector autocompletiton for Visual Studio Code

Works as eCSSTractor. You just select html tags and run command. Then text will copy to clipboard

Usage

Open any document contain HTML and do one of the following:

  • Press Cmd+Shift+P on Mac OS X or Ctrl+Shift+P on Windows/Linux to launch command palette and choose:

Query Selector

qs

Query Selector All

qsa

Query selector with event

select_with_event

If you want you can select by ...(id, class, tagName)

Selector by

If you want you can select all by ...(id, class, name, tagName)

selector all by

Selector with detail will be select element detaized. Example: querySelector('div#some div.child')

selector with details

***NEW AUTOCOMPLETITON YOU CAN AUTOCOMPLETE CREATE ELEMENT PROCESS IN JS

Create element (convert)

Install

Open up VS Code and input hotkey Ctrl+Shift+X. Search Selector Js. Choose and Install Then reload window

Updates

##0.0.1

  • Selection with nesting
  • Selection without nesting
  • Selection all without nesting

##0.0.2

  • querySelector
  • querySelectorAll

##0.0.3

  • Add new function - Query selector with event

##0.0.4

  • Add new function - selector with details
  • Add new function - selector by ...
  • Add new function - selector all by...
  • Add new function - Create Element (conver)

##0.0.5

##0.0.6

About

transfers Html elements to JavaScript variables

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published