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