Skip to content

Commit

Permalink
#579 restored the showCollapseLink attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
stephanrauh committed Jan 7, 2017
1 parent 3e62bf0 commit 8150792
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/main/webapp/layout/PanelAttributes.xhtml
Original file line number Diff line number Diff line change
Expand Up @@ -214,8 +214,8 @@
</tr>
<tr>
<td>show-collapse-link<br />showCollapseLink (alternative writing)</td>
<td> true </td>
<td>Collapsible panel headers are decorated by an underline to indicate it can be toggled using the keyboard unless you deactivate this feature by setting showCollapseLink='false'.</td>
<td> false </td>
<td>Collapsible panel headers are decorated by an underline to indicate it can be toggled using the keyboard if you activate this feature by setting showCollapseLink='true'.</td>
</tr>
<tr>
<td>small-screen<br />smallScreen (alternative writing)</td>
Expand Down
8 changes: 4 additions & 4 deletions src/main/webapp/layout/panels.xhtml
Original file line number Diff line number Diff line change
Expand Up @@ -133,15 +133,15 @@
</b:tabView>

<h3>Collapsible panels indicator <b:badge value="since 0.9.0" /></h3>
<p>By default, BootsFaces adds a visual clue that the panel can be collapsed using the keyboard.
You can deactivate it by setting <code>showCollapseLink="false"</code>:
<p>BootsFaces can underline the panel titel as a visual clue that the panel can be collapsed using the keyboard.
You can activate it by setting <code>showCollapseLink="true"</code>:
</p>
<h:form>
<b:panelGrid colSpans="6,6" size="sm">
<b:panel title="showCollapseLink='false'"
<b:panel title="showCollapseLink='false' (default)"
look="primary">
</b:panel>
<b:panel title="showCollapseLink='true' (default)" showOutline="true"
<b:panel title="showCollapseLink='true'" showCollapseLink="true"
look="primary">
</b:panel>
</b:panelGrid>
Expand Down

0 comments on commit 8150792

Please sign in to comment.