Lines Matching refs:el

739   var el = element.parentNode,
749 while (el && el.style && document.body !== el) {
750 overflow = el.style.overflow;
751 overflowX = el.style.overflowX;
752 overflowY = el.style.overflowY;
755 return el;
757 computedStyle = window.getComputedStyle(el);
763 return el;
767 …if (el.clientHeight <= el.scrollHeight && (props.indexOf(overflowY) !== -1 || props.indexOf(overfl…
768 return el;
770 …if (el.clientWidth <= el.scrollWidth && (props.indexOf(overflowX) !== -1 || props.indexOf(overflow…
771 return el;
773 el = el.parentNode;
786 var el = base.parentNode;
788 while (el && el.style && document.body !== el) {
789 if (el.style.overflow !== 'visible' && el.style.overflow !== '') {
790 return el;
792 var computedStyle = window.getComputedStyle(el);
795 return el;
799 el = el.parentNode;
923 function getCaretPosition(el) {
924 if (el.selectionStart) {
925 return el.selectionStart;
928 el.focus();
935 var re = el.createTextRange();
952 function getSelectionEndPosition(el) {
953 if (el.selectionEnd) {
954 return el.selectionEnd;
962 var re = el.createTextRange();
22735 includes: function includes(el /* , fromIndex = 0 */) {
22736 return $includes(this, el, arguments.length > 1 ? arguments[1] : undefined);
30708 return function ($this, el, fromIndex) {
30715 if (IS_INCLUDES && el != el) while (length > index) {
30721 if (O[index] === el) return IS_INCLUDES || index || 0;
31653 el,
31681 text.textContent = el.value + newChar;
31683 text.data = el.value + newChar; //IE8
31685 span.style.fontSize = getComputedStyle(el).fontSize;
31686 span.style.fontFamily = getComputedStyle(el).fontFamily;
31693 el.style.height = defaults.minHeight + 'px';
31696 el.style.width = defaults.minWidth + 'px';
31698 el.style.width = defaults.maxWidth + 'px';
31700 el.style.width = width + 'px';
31702 scrollHeight = el.scrollHeight ? el.scrollHeight - 1 : 0;
31705 el.style.height = defaults.minHeight + 'px';
31707 el.style.height = defaults.maxHeight + 'px';
31708 el.style.overflowY = 'visible';
31710 el.style.height = scrollHeight + 'px';
31720 defaults.minHeight = el.clientHeight;
31731 defaults.maxHeight = el.clientHeight;
31742 defaults.minWidth = el.clientWidth;
31753 defaults.maxWidth = el.clientWidth;
31769 el = el_;
31772 if (el.nodeName == 'TEXTAREA') {
31774 el.style.resize = 'none';
31775 el.style.overflowY = '';
31776 el.style.height = defaults.minHeight + 'px';
31777 el.style.minWidth = defaults.minWidth + 'px';
31778 el.style.maxWidth = defaults.maxWidth + 'px';
31779 el.style.overflowY = 'hidden';
31783 observe(el, 'change', resize);
31784 observe(el, 'cut', delayedResize);
31785 observe(el, 'paste', delayedResize);
31786 observe(el, 'drop', delayedResize);
31787 observe(el, 'keydown', delayedResize);
31788 observe(el, 'focus', resize);
31803 _unObserve(el, 'change', resize);
31804 _unObserve(el, 'cut', delayedResize);
31805 _unObserve(el, 'paste', delayedResize);
31806 _unObserve(el, 'drop', delayedResize);
31807 _unObserve(el, 'keydown', delayedResize);
31808 _unObserve(el, 'focus', resize);
48597 TableView.prototype.isTextSelectionAllowed = function (el) {
48598 if ((0, _element.isInput)(el)) {
48601 var isChildOfTableBody = (0, _element.isChildOf)(el, this.instance.view.wt.wtTable.spreader);
49957 addEvent = function(el, e, callback, capture)
49960 el.addEventListener(e, callback, !!capture);
49962 el.attachEvent('on' + e, callback);
49966 removeEvent = function(el, e, callback, capture)
49969 el.removeEventListener(e, callback, !!capture);
49971 el.detachEvent('on' + e, callback);
49975 fireEvent = function(el, eventName, data)
49983 el.dispatchEvent(ev);
49987 el.fireEvent('on' + eventName, ev);
49996 hasClass = function(el, cn)
49998 return (' ' + el.className + ' ').indexOf(' ' + cn + ' ') !== -1;
50001 addClass = function(el, cn)
50003 if (!hasClass(el, cn)) {
50004 el.className = (el.className === '') ? cn : el.className + ' ' + cn;
50008 removeClass = function(el, cn)
50010 el.className = trim((' ' + el.className + ' ').replace(' ' + cn + ' ', ' '));
50497 self.el = document.createElement('div');
50498 …self.el.className = 'pika-single' + (opts.isRTL ? ' is-rtl' : '') + (opts.theme ? ' ' + opts.theme…
50500 addEvent(self.el, 'mousedown', self._onMouseDown, true);
50501 addEvent(self.el, 'touchend', self._onMouseDown, true);
50502 addEvent(self.el, 'change', self._onChange);
50507 opts.container.appendChild(self.el);
50509 document.body.appendChild(self.el);
50511 opts.field.parentNode.insertBefore(self.el, opts.field.nextSibling);
50539 self.el.className += ' is-bound';
50884 this.el.innerHTML = html;
50910 this.el.style.position = 'absolute';
50914 width = this.el.offsetWidth;
50915 height = this.el.offsetHeight;
50951 this.el.style.left = left + 'px';
50952 this.el.style.top = top + 'px';
51049 removeClass(this.el, 'is-hidden');
51069 this.el.style.position = 'static'; // reset
51070 this.el.style.left = 'auto';
51071 this.el.style.top = 'auto';
51072 addClass(this.el, 'is-hidden');
51086 removeEvent(this.el, 'mousedown', this._onMouseDown, true);
51087 removeEvent(this.el, 'touchend', this._onMouseDown, true);
51088 removeEvent(this.el, 'change', this._onChange);
51097 if (this.el.parentNode) {
51098 this.el.parentNode.removeChild(this.el);