Actually, the problem may be that you probably wanted to name output
(the EventEmitter) "textChange" (without the trailing "d"). Then the
change below would not be needed.
--
Radek
On 2016-01-17 04:28, michael corbridge wrote:
> ok - plunker back up
>
> I had a look and noticed that in editor.components.ts you were not listening
> for the value emitted from the editor:
> ----------------------------------------------------------------------------------------------------------------------------------------------------------------
>
> <ace-editor id="editor" [(text)]="xml"></ace-editor>
> should be
> <ace-editor id="editor" [(text)]="xml"
> (textChanged)="onTextChanged($event)"></ace-editor>
>
> onTextChanged(s:string):void{
> this.xml = s;
> }
>
> ----------------------------------------------------------------------------------------------------------------------------------------------------------------
>
> It works once this is added. Granted, I did a bit of fiddling around to get
> the red to go away - but it works.
> Let me know if you have any problems.
>
> - michael
>
> On Saturday, January 16, 2016 at 11:22:28 AM UTC-5, Naftis wrote:
>
>> Sorry, it seems that at this time the whole plunkr site is down. Please try
>> again later, I suppose they are doing some housekeeping.
>
> --
> You received this message because you are subscribed to the Google Groups
> "AngularJS" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at https://groups.google.com/group/angular [1].
> For more options, visit https://groups.google.com/d/optout [2].
Links:
------
[1] https://groups.google.com/group/angular
[2] https://groups.google.com/d/optout
--
You received this message because you are subscribed to the Google Groups
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.