Lines Matching refs:element

142   function Completer(element, option) {  argument
143 this.$el = $(element);
149 ….is('input[type=search]') && !this.$el.is('textarea') && !element.isContentEditable && element.con…
154 if (element === element.ownerDocument.activeElement) {
209 var element = this.$el.get(0);
224 this.dropdown = new $.fn.textcomplete.Dropdown(element, this, this.option);
230 viewName = typeof element.selectionEnd === 'number' ? 'Textarea' : 'IETextarea';
236 this.adapter = new Adapter(element, this, this.option);
421 function Dropdown(element, completer, option) { argument
426 this.$inputEl = $(element);
436 this._bindEvents(element);
986 initialize: function (element, completer, option) { argument
987 this.el = element;
988 this.$el = $(element);
1083 function Textarea(element, completer, option) { argument
1084 this.initialize(element, completer, option);
1153 function IETextarea(element, completer, option) { argument
1154 this.initialize(element, completer, option);
1159 }).insertBefore(element);
1211 function ContentEditable (element, completer, option) { argument
1212 this.initialize(element, completer, option);
1342 function CKEditor (element, completer, option) { argument
1343 this.initialize(element, completer, option);
1436 function getCaretCoordinates(element, position, options) { argument
1453 …var computed = window.getComputedStyle? getComputedStyle(element) : element.currentStyle; // curr…
1457 if (element.nodeName !== 'INPUT')
1472 if (element.scrollHeight > parseInt(computed.height))
1478 div.textContent = element.value.substring(0, position);
1480 if (element.nodeName === 'INPUT')
1489 …span.textContent = element.value.substring(position) || '.'; // || because a completely empty fau…