Skip to content

Commit

Permalink
added then() description
Browse files Browse the repository at this point in the history
  • Loading branch information
javascriptlove committed Jun 21, 2017
1 parent 00054eb commit a41413a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,10 @@ Accepts an `options` object with the next keys:

`.style(selector, styleName, callback(styleValue))` find the specified selector and get its style value. Useful when inline styles specified.

**`then`**

`.then(callback)` runs a `callback` when the previous steps are done.

**`title`**

`.title(callback(title))` get the document title and run the callback. Synchronous is `.getTitle`.
Expand Down

0 comments on commit a41413a

Please sign in to comment.