@jtorm/find-method
v1.0.0
Published
jTorm Find Method
Readme
jTorm Find Method
Find an element.
Install
npm install @jtorm/find-methodProperties
| Option | Type | Required | Description |
|--------|----------|----------|-------------|
| e | string | true | Element. |
Example
->find(e: 'a[href="' + currentUrl + '"]')
->attr {
n: 'class';
v: 'active';
m: 'a';
}