mirror of
https://github.com/documize/community.git
synced 2025-07-19 05:09:42 +02:00
Improved tooltip rendering speed
This commit is contained in:
parent
c31c130ffd
commit
45f216b8a1
5 changed files with 74315 additions and 11660 deletions
|
@ -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 = '';
|
||||
|
|
|
@ -1,4 +1 @@
|
|||
{{#if tooltip}}
|
||||
{{#attach-tooltip showDelay=750}}{{tooltip}}{{/attach-tooltip}}
|
||||
{{/if}}
|
||||
{{yield}}
|
61309
gui/package-lock.json
generated
Normal file
61309
gui/package-lock.json
generated
Normal file
File diff suppressed because it is too large
Load diff
|
@ -22,6 +22,7 @@
|
|||
},
|
||||
"dependencies": {
|
||||
"bootstrap": "4.6.0",
|
||||
"ember-attacher": "^1.3.0",
|
||||
"npm": "7.20.6",
|
||||
"pdfjs-dist": "2.9.359",
|
||||
"popper.js": "^1.16.1"
|
||||
|
@ -34,7 +35,6 @@
|
|||
"@glimmer/tracking": "^1.0.0",
|
||||
"broccoli-asset-rev": "^3.0.0",
|
||||
"ember-ajax": "3.1.0",
|
||||
"ember-attacher": "1.2.3",
|
||||
"ember-cli": "^3.12.0",
|
||||
"ember-cli-app-version": "5.0.0",
|
||||
"ember-cli-babel": "^7.26.6",
|
||||
|
@ -62,7 +62,8 @@
|
|||
"eslint-plugin-node": "^11.1.0",
|
||||
"loader.js": "^4.7.0",
|
||||
"qunit": "^2.16.0",
|
||||
"qunit-dom": "1.6.0"
|
||||
"qunit-dom": "1.6.0",
|
||||
"sass": "^1.47.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": "8.* || >= 10.*"
|
||||
|
|
24650
gui/yarn.lock
24650
gui/yarn.lock
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue