Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
import config from '../config/environment';
import EmberTooltipBase from 'ember-tooltips/components/ember-tooltip-base';
let _didUpdateTimeoutLength = config.environment === 'test' ? 0 : 1000;
export default EmberTooltipBase.extend({ _didUpdateTimeoutLength });
import EmberTooltipBase from 'ember-tooltips/components/ember-tooltip-base';
export default EmberTooltipBase.extend({
_tooltipVariantClass: 'ember-tooltip',
});
import { cancel, later } from '@ember/runloop';
import EmberTooltipBase from 'ember-tooltips/components/ember-tooltip-base';
export default EmberTooltipBase.extend({
popoverHideDelay: 250,
_tooltipVariantClass: 'ember-popover',
_isMouseInside: false,
actions: {
hide() {
this.set('_isMouseInside', false);
this.hide();
},
},
addTargetEventListeners() {
this.addTooltipTargetEventListeners();
this.addPopoverTargetEventListeners();
},