Lines Matching refs:option

35   $.fn.textcomplete = function (strategies, option) {  argument
42 option || (option = {});
43 option._oid = id++; // unique object id
44 completer = new $.fn.textcomplete.Completer(this, option);
60 completer.option[name] = obj[name];
142 function Completer(element, option) { argument
147 this.option = $.extend({}, Completer.defaults, option);
163 …if ((!this.option.adapter || this.option.adapter == 'CKEditor') && typeof CKEDITOR != 'undefined' …
172 if (!self.option.adapter) {
173 self.option.adapter = $.fn.textcomplete['CKEditor'];
175 …self.option.ckeditor_instance = event.editor; //For multiple ckeditors on one page: in the old cod…
198 option: null,
224 this.dropdown = new $.fn.textcomplete.Dropdown(element, this, this.option);
226 if (this.option.adapter) {
227 Adapter = this.option.adapter;
236 this.adapter = new Adapter(element, this, this.option);
421 function Dropdown(element, completer, option) { argument
422 this.$el = Dropdown.createElement(option);
427 this.option = option;
430 if (option.listPosition) { this.setPosition = option.listPosition; }
431 if (option.height) { this.$el.height(option.height); }
434 if (option[name] != null) { self[name] = option[name]; }
444 createElement: function (option) { argument
445 var $parent = option.appendTo;
448 .addClass(option.dropdownClassName)
449 .attr('id', 'textcomplete-dropdown-' + option._oid)
454 zIndex: option.zIndex
578 …return !modifiers && (e.keyCode === 13 || e.keyCode === 9 || (this.option.completeOnSpace === true…
648 if ($.isFunction(this.option.onKeydown)) {
649 command = this.option.onKeydown(e, commands);
844 …var tolerance = this.option.rightEdgeOffset; // pixels. Make wider than vertical scrollbar because…
981 option: null,
986 initialize: function (element, completer, option) { argument
991 this.option = option;
993 if (this.option.debounce) {
994 this._onKeyup = debounce(this._onKeyup, this.option.debounce);
1020 var $parent = this.option.appendTo;
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);
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);
1349 this.option.ckeditor_instance.on('key', function(event) {