From 083d70cb3cec233f4f02148d38343e276761904f Mon Sep 17 00:00:00 2001 From: W Etheredge Date: Sun, 19 Nov 2017 09:31:26 -0600 Subject: [PATCH] Documentation update (getTabById -> getTab) --- README.md | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/README.md b/README.md index 2726634..c724ea2 100644 --- a/README.md +++ b/README.md @@ -86,11 +86,7 @@ Add a new tab to the tab group and returns a `Tab` instance. * `active` (default: `false`): set this to `true` if you want to activate the tab once it is loaded. Otherwise you will need to call `tab.activate()`. * `ready`: a callback function to call once the tab is ready. The `Tab` instance is passed as the only parameter. -#### `tabGroup.getTab(id, idIsPosition)` - -If `idIsPosition` is true `id` is passed to `tabGroup.getTabByPosition`. Otherwise, `id` is passed to `tabGroup.getTabById`. - -#### `tabGroup.getTabById(id)` +#### `tabGroup.getTab(id)` Retrieve an instance of `Tab` from this `id` (return `null` if not found).