the $observe function

http://docs.angularjs.org/guide/directive#attributes
This commit is contained in:
basarat
2013-07-17 22:18:16 +10:00
parent 708da5e9fe
commit 155b253f81

View File

@@ -119,6 +119,7 @@ declare module ng {
///////////////////////////////////////////////////////////////////////////
interface IAttributes {
$set(name: string, value: any): void;
$observe(name: string, fn:(value?:any)=>any):void;
$attr: any;
}