Lines Matching refs:elem
3 var elem = document.querySelectorAll(".jirainfo"),
28 for (let i = 0; i < elem.length; i++) {
29 (CONF.trigger === "hover") ? hoverByElem(elem[i]) : eventClick(elem[i]);
68 self.isOpened = function (elem) { argument
69 if (elem.hasAttribute("data-target")) {
70 …return document.getElementById(elem.getAttribute("data-target")).classList.contains(CONF.animation…
83 function eventClick(elem) { argument
84 elem.onclick = function() {
85 plugin_jirainfo.open.call(elem);
94 function hoverByElem(elem) { argument
97 elem.onmouseover = function() {
98 timer = setTimeout(bind(plugin_jirainfo.open, elem), 100);
101 elem.onmouseout = function () {
103 if (plugin_jirainfo.isOpened(elem)) {
104 timerPopup = setTimeout(hoverByPopup.call(elem), 100);
146 function jiPopup(elem) { argument
148 if (this.isCreated(elem)) {
149 this.id = elem.getAttribute("data-target");
152 elem.setAttribute("data-target", this.id);
154 this.key = elem.getAttribute("data-key");
173 jiPopup.prototype.show = function (elem) { argument
175 this.createPopperJS(elem);
188 jiPopup.prototype.createPopperJS = function (elem) { argument
191 this.popper = new Popper(elem, this.getPopElemByName(), {
215 jiPopup.prototype.isCreated = function(elem) { argument
216 return elem.hasAttribute("data-target");