Commit 73e69300 authored by Tommy Steimel's avatar Tommy Steimel Committed by Commit Bot

Kaleidoscope: Let JS set toolbar menu button tooltip text

Bug: b:166321735
Change-Id: I53aa13485ac9f014c6ebc0ab8bf38f65204e0637
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2375600Reviewed-by: default avatarBecca Hughes <beccahughes@chromium.org>
Commit-Queue: Tommy Steimel <steimel@chromium.org>
Cr-Commit-Position: refs/heads/master@{#801817}
parent f6bb2080
......@@ -8,4 +8,4 @@
z-index: 1;
}
</style>
<cr-toolbar id="toolbar" show-menu show-search="[[showSearch]]"></cr-toolbar>
<cr-toolbar id="toolbar" show-menu show-search="[[showSearch]]" menu-label="[[menuLabel]]"></cr-toolbar>
......@@ -19,6 +19,9 @@ class KaleidoscopeToolbarElement extends PolymerElement {
return {
// Controls whether the search field is shown.
showSearch: {type: Boolean, value: false},
// Sets the tooltip text displayed on the menu button.
menuLabel: {type: String, value: ''},
};
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment