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