Introduce gr-label-info element
This element will be embedded inside a gr-hovercard, and will replace a large amount of functionality in the change metadata. Some of the code is copied from the change metadata. It will be deleted from there in a descendant change. Change-Id: I10a158dfd7e303e2a15b918e1980680b7f917e59
This commit is contained in:
@@ -35,7 +35,7 @@ limitations under the License.
|
||||
});
|
||||
</script>
|
||||
<script>
|
||||
// eslint-disable-next-line no-unused-vars
|
||||
/* eslint-disable no-unused-vars */
|
||||
const mockPromise = () => {
|
||||
let res;
|
||||
const promise = new Promise(resolve => {
|
||||
@@ -44,6 +44,8 @@ limitations under the License.
|
||||
promise.resolve = res;
|
||||
return promise;
|
||||
};
|
||||
const isHidden = el => getComputedStyle(el).display === 'none';
|
||||
/* eslint-enable no-unused-vars */
|
||||
</script>
|
||||
<script>
|
||||
(function() {
|
||||
|
||||
Reference in New Issue
Block a user