2014-10-02 12:27:01 -07:00
|
|
|
// import {Type} from 'facade/lang';
|
|
|
|
|
// import {ElementServicesFunction} from './facade';
|
2014-10-02 21:48:46 -07:00
|
|
|
import {ABSTRACT, CONST} from 'facade/lang';
|
2014-09-28 13:55:01 -07:00
|
|
|
|
2014-09-19 16:38:37 -07:00
|
|
|
|
2014-10-02 12:27:01 -07:00
|
|
|
@ABSTRACT()
|
2014-09-19 16:38:37 -07:00
|
|
|
export class Directive {
|
2014-10-02 21:48:46 -07:00
|
|
|
@CONST()
|
|
|
|
|
constructor({
|
2014-09-19 16:38:37 -07:00
|
|
|
selector,
|
2014-11-11 17:33:47 -08:00
|
|
|
bind,
|
2014-09-19 16:38:37 -07:00
|
|
|
lightDomServices,
|
|
|
|
|
implementsTypes
|
2014-10-02 21:48:46 -07:00
|
|
|
}:{
|
2014-09-19 16:38:37 -07:00
|
|
|
selector:String,
|
2014-11-11 17:33:47 -08:00
|
|
|
bind:Object,
|
2014-09-19 16:38:37 -07:00
|
|
|
lightDomServices:ElementServicesFunction,
|
|
|
|
|
implementsTypes:Array<Type>
|
2014-10-02 21:48:46 -07:00
|
|
|
})
|
2014-09-19 16:38:37 -07:00
|
|
|
{
|
2014-10-02 21:48:46 -07:00
|
|
|
this.selector = selector;
|
2014-09-19 16:38:37 -07:00
|
|
|
this.lightDomServices = lightDomServices;
|
2014-10-02 21:48:46 -07:00
|
|
|
this.implementsTypes = implementsTypes;
|
2014-11-11 17:33:47 -08:00
|
|
|
this.bind = bind;
|
2014-10-02 21:48:46 -07:00
|
|
|
}
|
2014-09-19 16:38:37 -07:00
|
|
|
}
|