Skip to content

Commit

Permalink
Corrected doc on revealNode #65
Browse files Browse the repository at this point in the history
  • Loading branch information
jonmiles committed Apr 14, 2015
1 parent ef86a8f commit 18fb8c7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -476,12 +476,12 @@ Removes the tree view component. Removing attached events, internal attached obj
$('#tree').treeview('remove');
```

#### revealNode()
#### revealNode(node | nodeId, options)

Reveals a given tree node, expanding the tree from node to root.

```javascript
$('#tree').treeview('revealNode');
$('#tree').treeview('revealNode', [ nodeId, { silent: true } ]);
```

Triggers `nodeExpanded` event; pass silent to suppress events.
Expand Down

0 comments on commit 18fb8c7

Please sign in to comment.