forked from SAP/fundamental-ngx
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: (platform) Menu button Accessibility fix and Documentation chang…
…es. (SAP#2633) * fix:menu button style fix and docs fix * fix:tests prettify, master rebase * fix:ari-expanded removed * fix:review implementation * docs:review comments * docs:review comments
- Loading branch information
1 parent
82bf732
commit 630835e
Showing
5 changed files
with
56 additions
and
28 deletions.
There are no files selected for viewing
17 changes: 11 additions & 6 deletions
17
...app/platform/component-docs/platform-menu-button/platform-menu-button-docs.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
24 changes: 21 additions & 3 deletions
24
...atform-menu-button/platform-menu-button-header/platform-menu-button-header.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,28 @@ | ||
<header>Menu Button</header> | ||
<description> | ||
Menu Button works as Dropdown. | ||
The menu button is used for triggering the display of a menu.<br /> | ||
In <a [routerLink]="'/core'">@fundamental-ngx/core</a>, it is an extenstion of | ||
<a [routerLink]="'/core/button'">@fundamental-ngx/button</a> directive, but in Platform this is a separate component | ||
and it reduces the complexity to create Menu Button. | ||
<br /> | ||
It selects from Menu whichs appears on Menu button click. | ||
<br /> | ||
|
||
<import module="PlatformMenuButtonModule"></import> | ||
<br /> | ||
|
||
<h3>Platform specific enhancements:</h3> | ||
<ul> | ||
<li>Menu Button wrapped up as a component.</li> | ||
<li> | ||
This component is used in conjunction with the | ||
<a [routerLink]="'/platform/menu'">Platform Menu Trigger</a>. | ||
</li> | ||
<li> | ||
Menu management is made easy by abstracting the menu definition and linking it with | ||
<a [routerLink]="'/platform/menu'">Menu Trigger</a>. | ||
</li> | ||
</ul> | ||
</description> | ||
<import module="PlatformMenuButtonModule"></import> | ||
|
||
<fd-header-tabs></fd-header-tabs> | ||
<router-outlet></router-outlet> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters