-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add extended tab bar preview option (#12350)
* Add extended tab bar preview option Add functionality to render more information on tab bar hover. Also makes sure the feedback is styled be using the hoverService. This currently applies to horizontal tab bars. Right now the title and the caption will be rendered. To not remove the old behavior this feature is enabled via the setting `window.extendedTabBarPreview`. Also added possibility to specify cssClasses to be added to a hover, when requesting it from the HoverService. This way special hovers, like the extended tab bar preview, can easily be styled with CSS. Contributed on behalf of STMicroelectronics * Localize preference and address review feedback Remove css classes after hover is disposed. Update tab bars after preference has been changed. Contributed on behalf of STMicroelectronics * Rename setting to `window.tabbar.enhancedPreview` Also fix potential unnecessary remove class for cssClasses. Contributed on behalf of STMicroelectronics
- Loading branch information
Showing
6 changed files
with
77 additions
and
9 deletions.
There are no files selected for viewing
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
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