Files
2015-04-24 09:29:00 +03:00

17 lines
461 B
TypeScript

import observable = require("data/observable");
export class WebViewModel extends observable.Observable {
constructor() {
super();
}
private _text: string;
get text(): string {
return this._text;
}
set text(value: string) {
console.log(value);
this._text = value;
this.notify({ object: this, eventName: observable.Observable.propertyChangeEvent, propertyName: "text", value: value });
}
}