Skip to content

Commit

Permalink
Tabs: Added wb-shift.wb-tabs to the documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
pjackson28 committed Aug 29, 2014
1 parent 4150686 commit 9f05225
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 2 deletions.
12 changes: 11 additions & 1 deletion site/pages/docs/ref/tabs/tabs-en.hbs
Expand Up @@ -6,7 +6,7 @@
"categoryfile": "plugins",
"description": "Dynamically stacks multiple sections of content, transforming them into a tabbed interface.",
"altLangPrefix": "tabs",
"dateModified": "2014-08-06"
"dateModified": "2014-08-28"
}
---
<span class="wb-prettify all-pre hide"></span>
Expand Down Expand Up @@ -383,6 +383,16 @@
<pre><code>$( document ).on( "wb-updated.wb-tabs", ".wb-tabs", function( event, $newPanel ) {
});</code></pre>
<pre><code>$( ".wb-tabs" ).on( "wb-updated.wb-tabs", function( event, $newPanel ) {
});</code></pre>
</td>
</tr>
<tr>
<td><code>wb-shift.wb-tabs</code></td>
<td>Triggered manually or automatically to change which tab panel is visible.</td>
<td>Changes which tab panel is visible. The value of <code>shiftto</code> is the number of tab panels to move forwards (positive number) or backwards (negative number).
<pre><code>$elm.trigger({
type: "wb-shift.wb-tabs",
shiftto: 1
});</code></pre>
</td>
</tr>
Expand Down
12 changes: 11 additions & 1 deletion site/pages/docs/ref/tabs/tabs-fr.hbs
Expand Up @@ -6,7 +6,7 @@
"categoryfile": "plugins",
"description": "Comprime plusieurs images et légendes superposées et fourni des controls qui permettent à l'utilisateur de choisi l'image à afficher.",
"altLangPrefix": "tabs",
"dateModified": "2014-08-06"
"dateModified": "2014-08-28"
}
---
<span class="wb-prettify all-pre hide"></span>
Expand Down Expand Up @@ -383,6 +383,16 @@
<pre><code>$( document ).on( "wb-updated.wb-tabs", ".wb-tabs", function( event, $newPanel ) {
});</code></pre>
<pre><code>$( ".wb-tabs" ).on( "wb-updated.wb-tabs", function( event, $newPanel ) {
});</code></pre>
</td>
</tr>
<tr>
<td><code>wb-shift.wb-tabs</code></td>
<td>Triggered manually or automatically to change which tab panel is visible.</td>
<td>Changes which tab panel is visible. The value of <code>shiftto</code> is the number of tab panels to move forwards (positive number) or backwards (negative number).
<pre><code>$elm.trigger({
type: "wb-shift.wb-tabs",
shiftto: 1
});</code></pre>
</td>
</tr>
Expand Down

0 comments on commit 9f05225

Please sign in to comment.