2014-09-19 16:38:37 -07:00
|
|
|
import {Type} from 'facade/lang';
|
|
|
|
|
import {ElementServicesFunction} from './facade';
|
2014-09-28 13:55:01 -07:00
|
|
|
import {ABSTRACT} from 'facade/lang';
|
|
|
|
|
|
2014-09-19 16:38:37 -07:00
|
|
|
|
|
|
|
|
@ABSTRACT
|
|
|
|
|
export class Directive {
|
2014-09-25 16:53:32 -07:00
|
|
|
constructor({
|
2014-09-19 16:38:37 -07:00
|
|
|
selector,
|
|
|
|
|
lightDomServices,
|
|
|
|
|
implementsTypes
|
|
|
|
|
}:{
|
|
|
|
|
selector:String,
|
|
|
|
|
lightDomServices:ElementServicesFunction,
|
|
|
|
|
implementsTypes:Array<Type>
|
|
|
|
|
})
|
|
|
|
|
{
|
|
|
|
|
this.lightDomServices = lightDomServices;
|
|
|
|
|
this.selector = selector;
|
|
|
|
|
}
|
|
|
|
|
}
|