2.1.4 • Published 8 years ago
xway v2.1.4
Xway
library for building xpath exspression.
Dependencies - None
Support
Xway Support UMD(Universal Module Definition), CommonJS, es moudles and regular script tag.
Installation
Using npm:
$ npm install --save xway
Usage
Import the file to your app (you can choose the way you want to import the file)
import { xpathCreator } from 'xway'
var xpathCreator = require('webStory').xpathCreator
<script src="xway"></script>
- build your simple builder
var builder = new xpathCreator(defaultValue?).builder();
- build builder with some custom element
var builder = new xpathCreator(defaultValue?).withCustomElements(["customElementName"]).builder();
- then use the builder to build your xpath
var builder = new xpathCreator(defaultValue?).builder();
var xpath = builder.div().div().withStyles({
display:"none"
})
.div()
.withClasses(["class1","class2"])
.input().build();
API Reference
License
MIT
2.1.4
8 years ago
2.1.3
8 years ago
2.1.2
8 years ago
2.1.1
8 years ago
2.1.0
8 years ago
2.0.1
8 years ago
2.0.0
8 years ago
1.2.2
10 years ago
1.2.1
10 years ago
1.2.0
10 years ago
1.1.7
10 years ago
1.1.6
10 years ago
1.1.5
10 years ago
1.1.4
10 years ago
1.1.3
10 years ago
1.1.2
10 years ago
1.1.1
10 years ago
1.1.0
10 years ago
1.0.8
10 years ago
1.0.6
10 years ago
1.0.5
10 years ago
1.0.4
10 years ago
1.0.3
10 years ago
1.0.2
10 years ago
1.0.1
10 years ago
1.0.0
10 years ago