Changed docs/json/roodata.jsondocs/src/Roo_HtmlEditorCore.js.htmldocs/src/Roo_form_Ht...
[roojs1] / docs / symbols / Roo.HtmlEditorCore.json
1 {
2   "name" : "Roo.HtmlEditorCore",
3   "augments" : [
4     "Roo.Component",
5     "Roo.util.Observable"
6   ],
7   "desc" : "Provides a the editing component for the HTML editors in Roo. (bootstrap and Roo.form)\n\nany element that has display set to 'none' can cause problems in Safari and Firefox.<br/><br/>",
8   "isSingleton" : false,
9   "isStatic" : false,
10   "isBuiltin" : false,
11   "memberOf" : "HtmlEditorCore",
12   "example" : "",
13   "deprecated" : "",
14   "since" : "",
15   "see" : "",
16   "params" : [],
17   "returns" : [],
18   "config" : [
19     {
20       "name" : "listeners",
21       "type" : "Object",
22       "desc" : "list of events and functions to call for this object, \nFor example :\n<pre><code>\n    listeners :  { \n       'click' : function(e) {\n           ..... \n        } ,\n        .... \n    } \n  </code></pre>",
23       "memberOf" : "Roo.util.Observable",
24       "optvals" : []
25     },
26     {
27       "name" : "allowComments",
28       "type" : "boolean",
29       "desc" : "- default false - allow comments in HTML source - by default they are stripped - if you are editing email you may need this.",
30       "memberOf" : "Roo.HtmlEditorCore",
31       "optvals" : []
32     },
33     {
34       "name" : "the",
35       "type" : "Roo.form.HtmlEditor|Roo.bootstrap.HtmlEditor",
36       "desc" : "owner field",
37       "memberOf" : "Roo.HtmlEditorCore",
38       "optvals" : []
39     },
40     {
41       "name" : "hideMode",
42       "type" : "String",
43       "desc" : "y)\nHow this component should hidden. Supported values are\n\"visibility\" (css visibility), \"offsets\" (negative offset position) and\n\"display\" (css display) - defaults to \"display\".",
44       "memberOf" : "Roo.Component",
45       "optvals" : [
46         "display",
47         "visibility"
48       ]
49     },
50     {
51       "name" : "allowDomMove",
52       "type" : "Boolean",
53       "desc" : "Whether the component can move the Dom node when rendering (defaults to true).",
54       "memberOf" : "Roo.Component",
55       "optvals" : []
56     },
57     {
58       "name" : "actionMode",
59       "type" : "String",
60       "desc" : "which property holds the element that used for  hide() / show() / disable() / enable()\ndefault is 'el' for forms you probably want to set this to fieldEl",
61       "memberOf" : "Roo.Component",
62       "optvals" : []
63     },
64     {
65       "name" : "width",
66       "type" : "Number",
67       "desc" : "(in pixels)",
68       "memberOf" : "Roo.HtmlEditorCore",
69       "optvals" : []
70     },
71     {
72       "name" : "resizable",
73       "type" : "String",
74       "desc" : "'s' or 'se' or 'e' - wrapps the element in a\n                       Roo.resizable.",
75       "memberOf" : "Roo.HtmlEditorCore",
76       "optvals" : []
77     },
78     {
79       "name" : "height",
80       "type" : "Number",
81       "desc" : "(in pixels)",
82       "memberOf" : "Roo.HtmlEditorCore",
83       "optvals" : []
84     },
85     {
86       "name" : "disableClass",
87       "type" : "String",
88       "desc" : "CSS class added to the component when it is disabled (defaults to \"x-item-disabled\").",
89       "memberOf" : "Roo.Component",
90       "optvals" : []
91     },
92     {
93       "name" : "stylesheets",
94       "type" : "Array",
95       "desc" : "url of stylesheets. set to [] to disable stylesheets.",
96       "memberOf" : "Roo.HtmlEditorCore",
97       "optvals" : []
98     }
99   ],
100   "methods" : [
101     {
102       "name" : "relayCmd",
103       "desc" : "Executes a Midas editor command on the editor document and performs necessary focus and\ntoolbar updates. <b>This should only be called after the editor is initialized.</b>",
104       "isStatic" : false,
105       "isConstructor" : false,
106       "isPrivate" : false,
107       "memberOf" : "Roo.HtmlEditorCore",
108       "example" : "",
109       "deprecated" : "",
110       "since" : "",
111       "see" : "",
112       "params" : [
113         {
114           "name" : "cmd",
115           "type" : "String",
116           "desc" : "The Midas command",
117           "isOptional" : false
118         },
119         {
120           "name" : "value",
121           "type" : "String/Boolean",
122           "desc" : "(optional) The value to pass to the command (defaults to null)",
123           "isOptional" : false
124         }
125       ],
126       "returns" : []
127     },
128     {
129       "name" : "execCmd",
130       "desc" : "Executes a Midas editor command directly on the editor document.\nFor visual commands, you should use {@link #relayCmd} instead.\n<b>This should only be called after the editor is initialized.</b>",
131       "isStatic" : false,
132       "isConstructor" : false,
133       "isPrivate" : false,
134       "memberOf" : "Roo.HtmlEditorCore",
135       "example" : "",
136       "deprecated" : "",
137       "since" : "",
138       "see" : "",
139       "params" : [
140         {
141           "name" : "cmd",
142           "type" : "String",
143           "desc" : "The Midas command",
144           "isOptional" : false
145         },
146         {
147           "name" : "value",
148           "type" : "String/Boolean",
149           "desc" : "(optional) The value to pass to the command (defaults to null)",
150           "isOptional" : false
151         }
152       ],
153       "returns" : []
154     },
155     {
156       "name" : "cleanWord",
157       "desc" : "Clean up MS wordisms...",
158       "isStatic" : false,
159       "isConstructor" : false,
160       "isPrivate" : false,
161       "memberOf" : "Roo.HtmlEditorCore",
162       "example" : "",
163       "deprecated" : "",
164       "since" : "",
165       "see" : "",
166       "params" : [],
167       "returns" : []
168     },
169     {
170       "name" : "syncValue",
171       "desc" : "HTML Editor -> Textarea\nProtected method that will not generally be called directly. Syncs the contents\nof the editor iframe with the textarea.",
172       "isStatic" : false,
173       "isConstructor" : false,
174       "isPrivate" : false,
175       "memberOf" : "Roo.HtmlEditorCore",
176       "example" : "",
177       "deprecated" : "",
178       "since" : "",
179       "see" : "",
180       "params" : [],
181       "returns" : []
182     },
183     {
184       "name" : "cleanTableWidths",
185       "desc" : "cleanTableWidths.\n\nQuite often pasting from word etc.. results in tables with column and widths.\nThis does not work well on fluid HTML layouts - like emails. - so this code should hunt an destroy them..",
186       "isStatic" : false,
187       "isConstructor" : false,
188       "isPrivate" : false,
189       "memberOf" : "Roo.HtmlEditorCore",
190       "example" : "",
191       "deprecated" : "",
192       "since" : "",
193       "see" : "",
194       "params" : [],
195       "returns" : []
196     },
197     {
198       "name" : "cleanHtml",
199       "desc" : "Protected method that will not generally be called directly. If you need/want\ncustom HTML cleanup, this is the method you should override.",
200       "isStatic" : false,
201       "isConstructor" : false,
202       "isPrivate" : false,
203       "memberOf" : "Roo.HtmlEditorCore",
204       "example" : "",
205       "deprecated" : "",
206       "since" : "",
207       "see" : "",
208       "params" : [
209         {
210           "name" : "html",
211           "type" : "String",
212           "desc" : "The HTML to be cleaned\nreturn {String} The cleaned HTML",
213           "isOptional" : false
214         }
215       ],
216       "returns" : []
217     },
218     {
219       "name" : "toggleSourceEdit",
220       "desc" : "Toggles the editor between standard and source edit mode.",
221       "isStatic" : false,
222       "isConstructor" : false,
223       "isPrivate" : false,
224       "memberOf" : "Roo.HtmlEditorCore",
225       "example" : "",
226       "deprecated" : "",
227       "since" : "",
228       "see" : "",
229       "params" : [
230         {
231           "name" : "sourceEdit",
232           "type" : "Boolean",
233           "desc" : "(optional) True for source edit, false for standard",
234           "isOptional" : false
235         }
236       ],
237       "returns" : []
238     },
239     {
240       "name" : "getDocMarkup",
241       "desc" : "Protected method that will not generally be called directly. It\nis called when the editor initializes the iframe with HTML contents. Override this method if you\nwant to change the initialization markup of the iframe (e.g. to add stylesheets).",
242       "isStatic" : false,
243       "isConstructor" : false,
244       "isPrivate" : false,
245       "memberOf" : "Roo.HtmlEditorCore",
246       "example" : "",
247       "deprecated" : "",
248       "since" : "",
249       "see" : "",
250       "params" : [],
251       "returns" : []
252     },
253     {
254       "name" : "iterateChildren",
255       "desc" : "iterateChildren of a Node, calling fn each time, using this as the scole..",
256       "isStatic" : false,
257       "isConstructor" : false,
258       "isPrivate" : false,
259       "memberOf" : "Roo.HtmlEditorCore",
260       "example" : "",
261       "deprecated" : "",
262       "since" : "",
263       "see" : "",
264       "params" : [
265         {
266           "name" : "node",
267           "type" : "DomNode",
268           "desc" : "node to iterate children of.",
269           "isOptional" : false
270         },
271         {
272           "name" : "fn",
273           "type" : "Function",
274           "desc" : "method of this class to call on each item.",
275           "isOptional" : false
276         }
277       ],
278       "returns" : []
279     },
280     {
281       "name" : "pushValue",
282       "desc" : "Protected method that will not generally be called directly. Pushes the value of the textarea\ninto the iframe editor.",
283       "isStatic" : false,
284       "isConstructor" : false,
285       "isPrivate" : false,
286       "memberOf" : "Roo.HtmlEditorCore",
287       "example" : "",
288       "deprecated" : "",
289       "since" : "",
290       "see" : "",
291       "params" : [],
292       "returns" : []
293     },
294     {
295       "name" : "rangeIntersectsNode",
296       "desc" : "Range intersection.. the hard stuff...\n '-1' = before\n '0' = hits..\n '1' = after.\n        [ -- selected range --- ]\n  [fail]                        [fail]\n\n   basically..\n     if end is before start or  hits it. fail.\n     if start is after end or hits it fail.\n\n  if either hits (but other is outside. - then it's not",
297       "isStatic" : false,
298       "isConstructor" : false,
299       "isPrivate" : false,
300       "memberOf" : "Roo.HtmlEditorCore",
301       "example" : "",
302       "deprecated" : "",
303       "since" : "",
304       "see" : "",
305       "params" : [],
306       "returns" : []
307     },
308     {
309       "name" : "insertAtCursor",
310       "desc" : "Inserts the passed text at the current cursor position. Note: the editor must be initialized and activated\nto insert tRoo.",
311       "isStatic" : false,
312       "isConstructor" : false,
313       "isPrivate" : false,
314       "memberOf" : "Roo.HtmlEditorCore",
315       "example" : "",
316       "deprecated" : "",
317       "since" : "",
318       "see" : "",
319       "params" : [
320         {
321           "name" : "text",
322           "type" : "String",
323           "desc" : "| dom node..",
324           "isOptional" : false
325         }
326       ],
327       "returns" : []
328     },
329     {
330       "name" : "getId",
331       "desc" : "Returns the id of this component.",
332       "isStatic" : false,
333       "isConstructor" : false,
334       "isPrivate" : false,
335       "memberOf" : "Roo.Component",
336       "example" : "",
337       "deprecated" : "",
338       "since" : "",
339       "see" : "",
340       "params" : [],
341       "returns" : [
342         {
343           "name" : "",
344           "type" : "String",
345           "desc" : ""
346         }
347       ]
348     },
349     {
350       "name" : "render",
351       "desc" : "If this is a lazy rendering component, render it to its container element.",
352       "isStatic" : false,
353       "isConstructor" : false,
354       "isPrivate" : false,
355       "memberOf" : "Roo.Component",
356       "example" : "",
357       "deprecated" : "",
358       "since" : "",
359       "see" : "",
360       "params" : [
361         {
362           "name" : "container",
363           "type" : "String/HTMLElement/Element",
364           "desc" : "(optional) The element this component should be rendered into. If it is being applied to existing markup, this should be left off.",
365           "isOptional" : false
366         }
367       ],
368       "returns" : []
369     },
370     {
371       "name" : "destroy",
372       "desc" : "Destroys this component by purging any event listeners, removing the component's element from the DOM,\nremoving the component from its {@link Roo.Container} (if applicable) and unregistering it from {@link Roo.ComponentMgr}.",
373       "isStatic" : false,
374       "isConstructor" : false,
375       "isPrivate" : false,
376       "memberOf" : "Roo.Component",
377       "example" : "",
378       "deprecated" : "",
379       "since" : "",
380       "see" : "",
381       "params" : [],
382       "returns" : []
383     },
384     {
385       "name" : "isVisible",
386       "desc" : "Returns true if this component is visible.",
387       "isStatic" : false,
388       "isConstructor" : false,
389       "isPrivate" : false,
390       "memberOf" : "Roo.Component",
391       "example" : "",
392       "deprecated" : "",
393       "since" : "",
394       "see" : "",
395       "params" : [],
396       "returns" : []
397     },
398     {
399       "name" : "setDisabled",
400       "desc" : "Convenience function for setting disabled/enabled by boolean.",
401       "isStatic" : false,
402       "isConstructor" : false,
403       "isPrivate" : false,
404       "memberOf" : "Roo.Component",
405       "example" : "",
406       "deprecated" : "",
407       "since" : "",
408       "see" : "",
409       "params" : [
410         {
411           "name" : "disabled",
412           "type" : "Boolean",
413           "desc" : "",
414           "isOptional" : false
415         }
416       ],
417       "returns" : []
418     },
419     {
420       "name" : "hide",
421       "desc" : "Hide this component.",
422       "isStatic" : false,
423       "isConstructor" : false,
424       "isPrivate" : false,
425       "memberOf" : "Roo.Component",
426       "example" : "",
427       "deprecated" : "",
428       "since" : "",
429       "see" : "",
430       "params" : [],
431       "returns" : [
432         {
433           "name" : "",
434           "type" : "Roo.Component",
435           "desc" : "this"
436         }
437       ]
438     },
439     {
440       "name" : "focus",
441       "desc" : "Try to focus this component.",
442       "isStatic" : false,
443       "isConstructor" : false,
444       "isPrivate" : false,
445       "memberOf" : "Roo.Component",
446       "example" : "",
447       "deprecated" : "",
448       "since" : "",
449       "see" : "",
450       "params" : [
451         {
452           "name" : "selectText",
453           "type" : "Boolean",
454           "desc" : "True to also select the text in this component (if applicable)",
455           "isOptional" : false
456         }
457       ],
458       "returns" : [
459         {
460           "name" : "",
461           "type" : "Roo.Component",
462           "desc" : "this"
463         }
464       ]
465     },
466     {
467       "name" : "show",
468       "desc" : "Show this component.",
469       "isStatic" : false,
470       "isConstructor" : false,
471       "isPrivate" : false,
472       "memberOf" : "Roo.Component",
473       "example" : "",
474       "deprecated" : "",
475       "since" : "",
476       "see" : "",
477       "params" : [],
478       "returns" : [
479         {
480           "name" : "",
481           "type" : "Roo.Component",
482           "desc" : "this"
483         }
484       ]
485     },
486     {
487       "name" : "enable",
488       "desc" : "Enable this component.",
489       "isStatic" : false,
490       "isConstructor" : false,
491       "isPrivate" : false,
492       "memberOf" : "Roo.Component",
493       "example" : "",
494       "deprecated" : "",
495       "since" : "",
496       "see" : "",
497       "params" : [],
498       "returns" : [
499         {
500           "name" : "",
501           "type" : "Roo.Component",
502           "desc" : "this"
503         }
504       ]
505     },
506     {
507       "name" : "setVisible",
508       "desc" : "Convenience function to hide or show this component by boolean.",
509       "isStatic" : false,
510       "isConstructor" : false,
511       "isPrivate" : false,
512       "memberOf" : "Roo.Component",
513       "example" : "",
514       "deprecated" : "",
515       "since" : "",
516       "see" : "",
517       "params" : [
518         {
519           "name" : "visible",
520           "type" : "Boolean",
521           "desc" : "True to show, false to hide",
522           "isOptional" : false
523         }
524       ],
525       "returns" : [
526         {
527           "name" : "",
528           "type" : "Roo.Component",
529           "desc" : "this"
530         }
531       ]
532     },
533     {
534       "name" : "disable",
535       "desc" : "Disable this component.",
536       "isStatic" : false,
537       "isConstructor" : false,
538       "isPrivate" : false,
539       "memberOf" : "Roo.Component",
540       "example" : "",
541       "deprecated" : "",
542       "since" : "",
543       "see" : "",
544       "params" : [],
545       "returns" : [
546         {
547           "name" : "",
548           "type" : "Roo.Component",
549           "desc" : "this"
550         }
551       ]
552     },
553     {
554       "name" : "getEl",
555       "desc" : "Returns the underlying {@link Roo.Element}.",
556       "isStatic" : false,
557       "isConstructor" : false,
558       "isPrivate" : false,
559       "memberOf" : "Roo.Component",
560       "example" : "",
561       "deprecated" : "",
562       "since" : "",
563       "see" : "",
564       "params" : [],
565       "returns" : [
566         {
567           "name" : "",
568           "type" : "Roo.Element",
569           "desc" : "The element"
570         }
571       ]
572     },
573     {
574       "name" : "purgeListeners",
575       "desc" : "Removes all listeners for this object",
576       "isStatic" : false,
577       "isConstructor" : false,
578       "isPrivate" : false,
579       "memberOf" : "Roo.util.Observable",
580       "example" : "",
581       "deprecated" : "",
582       "since" : "",
583       "see" : "",
584       "params" : [],
585       "returns" : []
586     },
587     {
588       "name" : "on",
589       "desc" : "Appends an event handler to this element (shorthand for addListener)",
590       "isStatic" : false,
591       "isConstructor" : false,
592       "isPrivate" : false,
593       "memberOf" : "Roo.util.Observable",
594       "example" : "",
595       "deprecated" : "",
596       "since" : "",
597       "see" : "",
598       "params" : [
599         {
600           "name" : "eventName",
601           "type" : "String",
602           "desc" : "The type of event to listen for",
603           "isOptional" : false
604         },
605         {
606           "name" : "handler",
607           "type" : "Function",
608           "desc" : "The method the event invokes",
609           "isOptional" : false
610         },
611         {
612           "name" : "scope",
613           "type" : "Object",
614           "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
615           "isOptional" : false
616         },
617         {
618           "name" : "options",
619           "type" : "Object",
620           "desc" : "(optional)",
621           "isOptional" : false
622         }
623       ],
624       "returns" : []
625     },
626     {
627       "name" : "un",
628       "desc" : "Removes a listener (shorthand for removeListener)",
629       "isStatic" : false,
630       "isConstructor" : false,
631       "isPrivate" : false,
632       "memberOf" : "Roo.util.Observable",
633       "example" : "",
634       "deprecated" : "",
635       "since" : "",
636       "see" : "",
637       "params" : [
638         {
639           "name" : "eventName",
640           "type" : "String",
641           "desc" : "The type of event to listen for",
642           "isOptional" : false
643         },
644         {
645           "name" : "handler",
646           "type" : "Function",
647           "desc" : "The handler to remove",
648           "isOptional" : false
649         },
650         {
651           "name" : "scope",
652           "type" : "Object",
653           "desc" : "(optional) The scope (this object) for the handler",
654           "isOptional" : false
655         }
656       ],
657       "returns" : []
658     },
659     {
660       "name" : "addEvents",
661       "desc" : "Used to define events on this Observable",
662       "isStatic" : false,
663       "isConstructor" : false,
664       "isPrivate" : false,
665       "memberOf" : "Roo.util.Observable",
666       "example" : "",
667       "deprecated" : "",
668       "since" : "",
669       "see" : "",
670       "params" : [
671         {
672           "name" : "object",
673           "type" : "Object",
674           "desc" : "The object with the events defined",
675           "isOptional" : false
676         }
677       ],
678       "returns" : []
679     },
680     {
681       "name" : "releaseCapture",
682       "desc" : "Removes <b>all</b> added captures from the Observable.",
683       "isStatic" : true,
684       "isConstructor" : false,
685       "isPrivate" : false,
686       "memberOf" : "Roo.util.Observable",
687       "example" : "",
688       "deprecated" : "",
689       "since" : "",
690       "see" : "",
691       "params" : [
692         {
693           "name" : "o",
694           "type" : "Observable",
695           "desc" : "The Observable to release",
696           "isOptional" : false
697         }
698       ],
699       "returns" : []
700     },
701     {
702       "name" : "removeListener",
703       "desc" : "Removes a listener",
704       "isStatic" : false,
705       "isConstructor" : false,
706       "isPrivate" : false,
707       "memberOf" : "Roo.util.Observable",
708       "example" : "",
709       "deprecated" : "",
710       "since" : "",
711       "see" : "",
712       "params" : [
713         {
714           "name" : "eventName",
715           "type" : "String",
716           "desc" : "The type of event to listen for",
717           "isOptional" : false
718         },
719         {
720           "name" : "handler",
721           "type" : "Function",
722           "desc" : "The handler to remove",
723           "isOptional" : false
724         },
725         {
726           "name" : "scope",
727           "type" : "Object",
728           "desc" : "(optional) The scope (this object) for the handler",
729           "isOptional" : false
730         }
731       ],
732       "returns" : []
733     },
734     {
735       "name" : "fireEvent",
736       "desc" : "Fires the specified event with the passed parameters (minus the event name).",
737       "isStatic" : false,
738       "isConstructor" : false,
739       "isPrivate" : false,
740       "memberOf" : "Roo.util.Observable",
741       "example" : "",
742       "deprecated" : "",
743       "since" : "",
744       "see" : "",
745       "params" : [
746         {
747           "name" : "eventName",
748           "type" : "String",
749           "desc" : "",
750           "isOptional" : false
751         },
752         {
753           "name" : "args",
754           "type" : "Object...",
755           "desc" : "Variable number of parameters are passed to handlers",
756           "isOptional" : false
757         }
758       ],
759       "returns" : [
760         {
761           "name" : "",
762           "type" : "Boolean",
763           "desc" : "returns false if any of the handlers return false otherwise it returns true"
764         }
765       ]
766     },
767     {
768       "name" : "hasListener",
769       "desc" : "Checks to see if this object has any listeners for a specified event",
770       "isStatic" : false,
771       "isConstructor" : false,
772       "isPrivate" : false,
773       "memberOf" : "Roo.util.Observable",
774       "example" : "",
775       "deprecated" : "",
776       "since" : "",
777       "see" : "",
778       "params" : [
779         {
780           "name" : "eventName",
781           "type" : "String",
782           "desc" : "The name of the event to check for",
783           "isOptional" : false
784         }
785       ],
786       "returns" : [
787         {
788           "name" : "",
789           "type" : "Boolean",
790           "desc" : "True if the event is being listened for, else false"
791         }
792       ]
793     },
794     {
795       "name" : "capture",
796       "desc" : "Starts capture on the specified Observable. All events will be passed\nto the supplied function with the event name + standard signature of the event\n<b>before</b> the event is fired. If the supplied function returns false,\nthe event will not fire.",
797       "isStatic" : true,
798       "isConstructor" : false,
799       "isPrivate" : false,
800       "memberOf" : "Roo.util.Observable",
801       "example" : "",
802       "deprecated" : "",
803       "since" : "",
804       "see" : "",
805       "params" : [
806         {
807           "name" : "o",
808           "type" : "Observable",
809           "desc" : "The Observable to capture",
810           "isOptional" : false
811         },
812         {
813           "name" : "fn",
814           "type" : "Function",
815           "desc" : "The function to call",
816           "isOptional" : false
817         },
818         {
819           "name" : "scope",
820           "type" : "Object",
821           "desc" : "(optional) The scope (this object) for the fn",
822           "isOptional" : false
823         }
824       ],
825       "returns" : []
826     },
827     {
828       "name" : "addListener",
829       "desc" : "Appends an event handler to this component",
830       "isStatic" : false,
831       "isConstructor" : false,
832       "isPrivate" : false,
833       "memberOf" : "Roo.util.Observable",
834       "example" : "",
835       "deprecated" : "",
836       "since" : "",
837       "see" : "",
838       "params" : [
839         {
840           "name" : "eventName",
841           "type" : "String",
842           "desc" : "The type of event to listen for",
843           "isOptional" : false
844         },
845         {
846           "name" : "handler",
847           "type" : "Function",
848           "desc" : "The method the event invokes",
849           "isOptional" : false
850         },
851         {
852           "name" : "scope",
853           "type" : "Object",
854           "desc" : "(optional) The scope in which to execute the handler\nfunction. The handler function's \"this\" context.",
855           "isOptional" : false
856         },
857         {
858           "name" : "options",
859           "type" : "Object",
860           "desc" : "(optional) An object containing handler configuration\nproperties. This may contain any of the following properties:<ul>\n<li>scope {Object} The scope in which to execute the handler function. The handler function's \"this\" context.</li>\n<li>delay {Number} The number of milliseconds to delay the invocation of the handler after te event fires.</li>\n<li>single {Boolean} True to add a handler to handle just the next firing of the event, and then remove itself.</li>\n<li>buffer {Number} Causes the handler to be scheduled to run in an {@link Roo.util.DelayedTask} delayed\nby the specified number of milliseconds. If the event fires again within that time, the original\nhandler is <em>not</em> invoked, but the new handler is scheduled in its place.</li>\n</ul><br>\n<p>\n<b>Combining Options</b><br>\nUsing the options argument, it is possible to combine different types of listeners:<br>\n<br>\nA normalized, delayed, one-time listener that auto stops the event and passes a custom argument (forumId)\n\t\t<pre><code>\n\t\tel.on('click', this.onClick, this, {\n \t\t\tsingle: true,\n    \t\tdelay: 100,\n    \t\tforumId: 4\n\t\t});\n\t\t</code></pre>\n<p>\n<b>Attaching multiple handlers in 1 call</b><br>\nThe method also allows for a single argument to be passed which is a config object containing properties\nwhich specify multiple handlers.\n<pre><code>\n\t\tel.on({\n\t\t\t'click': {\n        \t\tfn: this.onClick,\n        \t\tscope: this,\n        \t\tdelay: 100\n    \t\t}, \n    \t\t'mouseover': {\n        \t\tfn: this.onMouseOver,\n        \t\tscope: this\n    \t\t},\n    \t\t'mouseout': {\n        \t\tfn: this.onMouseOut,\n        \t\tscope: this\n    \t\t}\n\t\t});\n\t\t</code></pre>\n<p>\nOr a shorthand syntax which passes the same scope object to all handlers:\n     \t<pre><code>\n\t\tel.on({\n\t\t\t'click': this.onClick,\n    \t\t'mouseover': this.onMouseOver,\n    \t\t'mouseout': this.onMouseOut,\n    \t\tscope: this\n\t\t});\n\t\t</code></pre>",
861           "isOptional" : false
862         }
863       ],
864       "returns" : []
865     }
866   ],
867   "events" : [
868     {
869       "name" : "specialkey",
870       "desc" : "",
871       "memberOf" : "Roo.HtmlEditorCore",
872       "example" : "",
873       "deprecated" : "",
874       "since" : "",
875       "see" : "",
876       "params" : [],
877       "returns" : []
878     },
879     {
880       "name" : "editorevent",
881       "desc" : "Fires when on any editor (mouse up/down cursor movement etc.) - used for toolbar hooks.",
882       "memberOf" : "Roo.HtmlEditorCore",
883       "example" : "",
884       "deprecated" : "",
885       "since" : "",
886       "see" : "",
887       "params" : [
888         {
889           "name" : "this",
890           "type" : "Roo.HtmlEditorCore",
891           "desc" : "",
892           "isOptional" : false
893         }
894       ],
895       "returns" : []
896     },
897     {
898       "name" : "beforepush",
899       "desc" : "Fires before the iframe editor is updated with content from the textarea. Return false\nto cancel the push.",
900       "memberOf" : "Roo.HtmlEditorCore",
901       "example" : "",
902       "deprecated" : "",
903       "since" : "",
904       "see" : "",
905       "params" : [
906         {
907           "name" : "this",
908           "type" : "Roo.HtmlEditorCore",
909           "desc" : "",
910           "isOptional" : false
911         },
912         {
913           "name" : "html",
914           "type" : "String",
915           "desc" : "",
916           "isOptional" : false
917         }
918       ],
919       "returns" : []
920     },
921     {
922       "name" : "activate",
923       "desc" : "Fires when the editor is first receives the focus. Any insertion must wait\nuntil after this event.",
924       "memberOf" : "Roo.HtmlEditorCore",
925       "example" : "",
926       "deprecated" : "",
927       "since" : "",
928       "see" : "",
929       "params" : [
930         {
931           "name" : "this",
932           "type" : "Roo.HtmlEditorCore",
933           "desc" : "",
934           "isOptional" : false
935         }
936       ],
937       "returns" : []
938     },
939     {
940       "name" : "initialize",
941       "desc" : "Fires when the editor is fully initialized (including the iframe)",
942       "memberOf" : "Roo.HtmlEditorCore",
943       "example" : "",
944       "deprecated" : "",
945       "since" : "",
946       "see" : "",
947       "params" : [
948         {
949           "name" : "this",
950           "type" : "Roo.HtmlEditorCore",
951           "desc" : "",
952           "isOptional" : false
953         }
954       ],
955       "returns" : []
956     },
957     {
958       "name" : "beforesync",
959       "desc" : "Fires before the textarea is updated with content from the editor iframe. Return false\nto cancel the sync.",
960       "memberOf" : "Roo.HtmlEditorCore",
961       "example" : "",
962       "deprecated" : "",
963       "since" : "",
964       "see" : "",
965       "params" : [
966         {
967           "name" : "this",
968           "type" : "Roo.HtmlEditorCore",
969           "desc" : "",
970           "isOptional" : false
971         },
972         {
973           "name" : "html",
974           "type" : "String",
975           "desc" : "",
976           "isOptional" : false
977         }
978       ],
979       "returns" : []
980     },
981     {
982       "name" : "push",
983       "desc" : "Fires when the iframe editor is updated with content from the textarea.",
984       "memberOf" : "Roo.HtmlEditorCore",
985       "example" : "",
986       "deprecated" : "",
987       "since" : "",
988       "see" : "",
989       "params" : [
990         {
991           "name" : "this",
992           "type" : "Roo.HtmlEditorCore",
993           "desc" : "",
994           "isOptional" : false
995         },
996         {
997           "name" : "html",
998           "type" : "String",
999           "desc" : "",
1000           "isOptional" : false
1001         }
1002       ],
1003       "returns" : []
1004     },
1005     {
1006       "name" : "sync",
1007       "desc" : "Fires when the textarea is updated with content from the editor iframe.",
1008       "memberOf" : "Roo.HtmlEditorCore",
1009       "example" : "",
1010       "deprecated" : "",
1011       "since" : "",
1012       "see" : "",
1013       "params" : [
1014         {
1015           "name" : "this",
1016           "type" : "Roo.HtmlEditorCore",
1017           "desc" : "",
1018           "isOptional" : false
1019         },
1020         {
1021           "name" : "html",
1022           "type" : "String",
1023           "desc" : "",
1024           "isOptional" : false
1025         }
1026       ],
1027       "returns" : []
1028     },
1029     {
1030       "name" : "change",
1031       "desc" : "",
1032       "memberOf" : "Roo.HtmlEditorCore",
1033       "example" : "",
1034       "deprecated" : "",
1035       "since" : "",
1036       "see" : "",
1037       "params" : [],
1038       "returns" : []
1039     },
1040     {
1041       "name" : "blur",
1042       "desc" : "",
1043       "memberOf" : "Roo.HtmlEditorCore",
1044       "example" : "",
1045       "deprecated" : "",
1046       "since" : "",
1047       "see" : "",
1048       "params" : [],
1049       "returns" : []
1050     },
1051     {
1052       "name" : "focus",
1053       "desc" : "",
1054       "memberOf" : "Roo.HtmlEditorCore",
1055       "example" : "",
1056       "deprecated" : "",
1057       "since" : "",
1058       "see" : "",
1059       "params" : [],
1060       "returns" : []
1061     },
1062     {
1063       "name" : "beforerender",
1064       "desc" : "Fires before the component is rendered. Return false to stop the render.",
1065       "memberOf" : "Roo.Component",
1066       "example" : "",
1067       "deprecated" : "",
1068       "since" : "",
1069       "see" : "",
1070       "params" : [
1071         {
1072           "name" : "this",
1073           "type" : "Roo.Component",
1074           "desc" : "",
1075           "isOptional" : false
1076         }
1077       ],
1078       "returns" : []
1079     },
1080     {
1081       "name" : "disable",
1082       "desc" : "Fires after the component is disabled.",
1083       "memberOf" : "Roo.Component",
1084       "example" : "",
1085       "deprecated" : "",
1086       "since" : "",
1087       "see" : "",
1088       "params" : [
1089         {
1090           "name" : "this",
1091           "type" : "Roo.Component",
1092           "desc" : "",
1093           "isOptional" : false
1094         }
1095       ],
1096       "returns" : []
1097     },
1098     {
1099       "name" : "render",
1100       "desc" : "Fires after the component is rendered.",
1101       "memberOf" : "Roo.Component",
1102       "example" : "",
1103       "deprecated" : "",
1104       "since" : "",
1105       "see" : "",
1106       "params" : [
1107         {
1108           "name" : "this",
1109           "type" : "Roo.Component",
1110           "desc" : "",
1111           "isOptional" : false
1112         }
1113       ],
1114       "returns" : []
1115     },
1116     {
1117       "name" : "destroy",
1118       "desc" : "Fires after the component is destroyed.",
1119       "memberOf" : "Roo.Component",
1120       "example" : "",
1121       "deprecated" : "",
1122       "since" : "",
1123       "see" : "",
1124       "params" : [
1125         {
1126           "name" : "this",
1127           "type" : "Roo.Component",
1128           "desc" : "",
1129           "isOptional" : false
1130         }
1131       ],
1132       "returns" : []
1133     },
1134     {
1135       "name" : "hide",
1136       "desc" : "Fires after the component is hidden.",
1137       "memberOf" : "Roo.Component",
1138       "example" : "",
1139       "deprecated" : "",
1140       "since" : "",
1141       "see" : "",
1142       "params" : [
1143         {
1144           "name" : "this",
1145           "type" : "Roo.Component",
1146           "desc" : "",
1147           "isOptional" : false
1148         }
1149       ],
1150       "returns" : []
1151     },
1152     {
1153       "name" : "beforehide",
1154       "desc" : "Fires before the component is hidden. Return false to stop the hide.",
1155       "memberOf" : "Roo.Component",
1156       "example" : "",
1157       "deprecated" : "",
1158       "since" : "",
1159       "see" : "",
1160       "params" : [
1161         {
1162           "name" : "this",
1163           "type" : "Roo.Component",
1164           "desc" : "",
1165           "isOptional" : false
1166         }
1167       ],
1168       "returns" : []
1169     },
1170     {
1171       "name" : "show",
1172       "desc" : "Fires after the component is shown.",
1173       "memberOf" : "Roo.Component",
1174       "example" : "",
1175       "deprecated" : "",
1176       "since" : "",
1177       "see" : "",
1178       "params" : [
1179         {
1180           "name" : "this",
1181           "type" : "Roo.Component",
1182           "desc" : "",
1183           "isOptional" : false
1184         }
1185       ],
1186       "returns" : []
1187     },
1188     {
1189       "name" : "beforeshow",
1190       "desc" : "Fires before the component is shown.  Return false to stop the show.",
1191       "memberOf" : "Roo.Component",
1192       "example" : "",
1193       "deprecated" : "",
1194       "since" : "",
1195       "see" : "",
1196       "params" : [
1197         {
1198           "name" : "this",
1199           "type" : "Roo.Component",
1200           "desc" : "",
1201           "isOptional" : false
1202         }
1203       ],
1204       "returns" : []
1205     },
1206     {
1207       "name" : "enable",
1208       "desc" : "Fires after the component is enabled.",
1209       "memberOf" : "Roo.Component",
1210       "example" : "",
1211       "deprecated" : "",
1212       "since" : "",
1213       "see" : "",
1214       "params" : [
1215         {
1216           "name" : "this",
1217           "type" : "Roo.Component",
1218           "desc" : "",
1219           "isOptional" : false
1220         }
1221       ],
1222       "returns" : []
1223     },
1224     {
1225       "name" : "beforedestroy",
1226       "desc" : "Fires before the component is destroyed. Return false to stop the destroy.",
1227       "memberOf" : "Roo.Component",
1228       "example" : "",
1229       "deprecated" : "",
1230       "since" : "",
1231       "see" : "",
1232       "params" : [
1233         {
1234           "name" : "this",
1235           "type" : "Roo.Component",
1236           "desc" : "",
1237           "isOptional" : false
1238         }
1239       ],
1240       "returns" : []
1241     }
1242   ]
1243 }