1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-07-23 07:09:43 +02:00

Improved tooltip rendering speed

This commit is contained in:
HarveyKandola 2022-01-10 17:14:08 -05:00
parent c31c130ffd
commit 45f216b8a1
5 changed files with 74315 additions and 11660 deletions

View file

@ -1,3 +1,5 @@
/* eslint-disable ember/no-classic-classes */
/* eslint-disable ember/require-tagless-components */
// Copyright 2016 Documize Inc. <legal@documize.com>. All rights reserved.
//
// This software (Documize Community Edition) is licensed under
@ -22,6 +24,10 @@ export default Component.extend({
icon: '',
tooltip: '',
selected: false,
attributeBindings: ['title'],
title: computed('tooltip', function() {
return this.tooltip;
}),
calcClass: computed('selected', function() {
let c = '';