Generate calls to Reflector#registerSetters from the information in provided `Directive#bind` values. This is only an initial attempt - it covers only the most basic values of `bind`. Closes #780
		
			
				
	
	
		
			12 lines
		
	
	
		
			269 B
		
	
	
	
		
			Dart
		
	
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
		
			269 B
		
	
	
	
		
			Dart
		
	
	
	
	
	
library bar;
 | 
						|
 | 
						|
import 'package:angular2/src/core/annotations/annotations.dart';
 | 
						|
 | 
						|
@Component(selector: 'soup', componentServices: const [ToolTip])
 | 
						|
class MyComponent {}
 | 
						|
 | 
						|
@Decorator(selector: '[tool-tip]', bind: const {'text': 'tool-tip'})
 | 
						|
class ToolTip {
 | 
						|
  String text;
 | 
						|
}
 |