Skip to content

stevoland/CSSelector.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CSSelector.js

Generate a CSS selector string to target the given node

Installation

You can use with an AMD loader or vanilla javascript.

Dowload

You can directly download the Development Version or the Production Version from the root folder

BOWER

$ bower install CSSelector.js

JAM

$ jam install CSSelector.js

Integration

AMD

// AMD
require(['path/to/CSSelector.js'], function (CSSelector) {
  // CSSelector(el);
});

CommonJS

// CommonJS
var CSSelector = require('CSSelector');

Vanilla JS

<!-- Vanilla javascript -->
<script src="path/to/CSSelector.js"></script>
<script>
	console.log(CSSelector(el));
</script>

About

Generate a CSS selector string to target the given node

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published