jspanel4
Version:
A JavaScript library to create highly configurable multifunctional floating panels that can also be used as modal, tooltip, hint or contextmenu
1 lines • 432 B
JavaScript
import{jsPanel}from"../../jspanel.js";jsPanel.hint||(jsPanel.hint={version:"1.2.3",date:"2019-05-18 10:50",defaults:{autoclose:!0,dragit:!1,resizeit:!1,headerControls:"closeonly xs"},create(e={}){e.paneltype="hint";let t=e;return e.config&&delete(t=Object.assign({},e.config,e)).config,t=Object.assign({},this.defaults,t),jsPanel.create(t,e=>{e.style.zIndex=9999,e.header.style.cursor="default",e.footer.style.cursor="default"})}});