Skip to content

Commit e6c86f5

Browse files
Anandhu936sachinchoolur
authored andcommitted
fix javascript method descriptions
1 parent 1d46f06 commit e6c86f5

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

README.MD

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -265,15 +265,19 @@ css(css, value) {
265265
```
266266

267267
##### data
268+
268269
Store arbitrary data associated with the matched elements.
270+
269271
```js
270272
data(name, value) {
271273
return this.attr(`data-${name}`, value);
272274
}
273275
```
274276

275277
##### each
278+
276279
Iterate over a jQuery object, executing a function for each matched element.
280+
277281
```js
278282
each(func) {
279283
if (!this.elements) {
@@ -409,7 +413,9 @@ is(el) {
409413
```
410414

411415
##### next
416+
412417
Get the immediately following sibling of each element in the set of matched elements. If a selector is provided, it retrieves the next sibling only if it matches that selector.
418+
413419
```js
414420
next() {
415421
if (!this.element) {

0 commit comments

Comments
 (0)