It is a plain-old-data class to seperate the protoInjector from the textNodes and elementBinding data.
16 lines
612 B
JavaScript
16 lines
612 B
JavaScript
import {ProtoElementInjector} from './element_injector';
|
|
import {FIELD} from 'facade/lang';
|
|
import {List} from 'facade/collection';
|
|
|
|
export class ElementBinder {
|
|
@FIELD('final protoElementInjector:ProtoElementInjector')
|
|
@FIELD('final textNodeIndices:List<int>')
|
|
@FIELD('final hasElementPropertyBindings:bool')
|
|
constructor(protoElementInjector: ProtoElementInjector,
|
|
textNodeIndices:List, hasElementPropertyBindings:boolean) {
|
|
this.protoElementInjector = protoElementInjector;
|
|
this.textNodeIndices = textNodeIndices;
|
|
this.hasElementPropertyBindings = hasElementPropertyBindings;
|
|
}
|
|
}
|