mirror of
https://github.com/documize/community.git
synced 2025-07-24 15:49:44 +02:00
new UX for category management
This commit is contained in:
parent
1c08a7fbcf
commit
1f0fc844a8
29 changed files with 287 additions and 397 deletions
|
@ -10,9 +10,21 @@
|
|||
// https://documize.com
|
||||
|
||||
import Mixin from '@ember/object/mixin';
|
||||
import { schedule } from '@ember/runloop';
|
||||
|
||||
export default Mixin.create({
|
||||
tooltips: [],
|
||||
tooltips: [],
|
||||
|
||||
renderTooltips() {
|
||||
schedule('afterRender', () => {
|
||||
$('[data-toggle="tooltip"]').tooltip('dispose');
|
||||
$('body').tooltip({selector: '[data-toggle="tooltip"]', delay: 250});
|
||||
});
|
||||
},
|
||||
|
||||
removeTooltips() {
|
||||
$('[data-toggle="tooltip"]').tooltip('dispose');
|
||||
},
|
||||
|
||||
addTooltip(elem) {
|
||||
if (elem == null) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue