declare var tippy ; export class Tooltips { static initialize ( ) { const tooltipElements = document . querySelectorAll ( '[data-tippy-content]' ) ; tooltipElements . forEach ( e => Tooltips . addTo_ ( e ) ) ; } private static addTo_ ( element ) { tippy ( element , { a11y : false , arrow : true , delay : [ 10 , 20 ] , animation : 'shift-away' } ) ; } static hideAll ( ) { tippy . hideAllPoppers ( ) ; } }