feat(core): renames Property into Input and Event into Output
BREACKING CHANGE: Before: @Directive({properties: ['one'], events: ['two']}) After: @Directive({inputs: ['one'], outputs: ['two']}) Before: @Component({properties: ['one'], events: ['two']}) After: @Componet({inputs: ['one'], outputs: ['two']}) Before: class A {@Property() one; @Event() two;} After: class A {@Input() one; @Output() two;}
This commit is contained in:
@ -156,11 +156,11 @@ var NG_API = [
|
||||
'Component.bindings',
|
||||
'Component.changeDetection',
|
||||
'Component.compileChildren',
|
||||
'Component.events',
|
||||
'Component.outputs',
|
||||
'Component.exportAs',
|
||||
'Component.host',
|
||||
'Component.moduleId',
|
||||
'Component.properties',
|
||||
'Component.inputs',
|
||||
'Component.queries',
|
||||
'Component.selector',
|
||||
'Component.viewBindings',
|
||||
@ -168,11 +168,11 @@ var NG_API = [
|
||||
'ComponentMetadata.bindings',
|
||||
'ComponentMetadata.changeDetection',
|
||||
'ComponentMetadata.compileChildren',
|
||||
'ComponentMetadata.events',
|
||||
'ComponentMetadata.outputs',
|
||||
'ComponentMetadata.exportAs',
|
||||
'ComponentMetadata.host',
|
||||
'ComponentMetadata.moduleId',
|
||||
'ComponentMetadata.properties',
|
||||
'ComponentMetadata.inputs',
|
||||
'ComponentMetadata.queries',
|
||||
'ComponentMetadata.selector',
|
||||
'ComponentMetadata.viewBindings',
|
||||
@ -373,21 +373,21 @@ var NG_API = [
|
||||
'Directive',
|
||||
'Directive.bindings',
|
||||
'Directive.compileChildren',
|
||||
'Directive.events',
|
||||
'Directive.outputs',
|
||||
'Directive.exportAs',
|
||||
'Directive.host',
|
||||
'Directive.moduleId',
|
||||
'Directive.properties',
|
||||
'Directive.inputs',
|
||||
'Directive.queries',
|
||||
'Directive.selector',
|
||||
'DirectiveMetadata',
|
||||
'DirectiveMetadata.bindings',
|
||||
'DirectiveMetadata.compileChildren',
|
||||
'DirectiveMetadata.events',
|
||||
'DirectiveMetadata.outputs',
|
||||
'DirectiveMetadata.exportAs',
|
||||
'DirectiveMetadata.host',
|
||||
'DirectiveMetadata.moduleId',
|
||||
'DirectiveMetadata.properties',
|
||||
'DirectiveMetadata.inputs',
|
||||
'DirectiveMetadata.queries',
|
||||
'DirectiveMetadata.selector',
|
||||
'DirectiveResolver',
|
||||
@ -407,8 +407,8 @@ var NG_API = [
|
||||
'ElementRef.renderBoundElementIndex=',
|
||||
'ElementRef.renderView',
|
||||
'ElementRef.renderView=',
|
||||
'Event',
|
||||
'Event.bindingPropertyName',
|
||||
'Output',
|
||||
'Output.bindingPropertyName',
|
||||
'EventEmitter',
|
||||
'EventEmitter.add():dart',
|
||||
'EventEmitter.addError():dart',
|
||||
@ -454,8 +454,8 @@ var NG_API = [
|
||||
'EventEmitter.toSet():dart',
|
||||
'EventEmitter.transform():dart',
|
||||
'EventEmitter.where():dart',
|
||||
'EventMetadata',
|
||||
'EventMetadata.bindingPropertyName',
|
||||
'OutputMetadata',
|
||||
'OutputMetadata.bindingPropertyName',
|
||||
'ExpressionChangedAfterItHasBeenCheckedException',
|
||||
'ExpressionChangedAfterItHasBeenCheckedException.message',
|
||||
'ExpressionChangedAfterItHasBeenCheckedException.stackTrace',
|
||||
@ -790,10 +790,10 @@ var NG_API = [
|
||||
'PlatformRef.dispose()',
|
||||
'PlatformRef.injector',
|
||||
'Predicate:dart',
|
||||
'Property',
|
||||
'Property.bindingPropertyName',
|
||||
'PropertyMetadata',
|
||||
'PropertyMetadata.bindingPropertyName',
|
||||
'Input',
|
||||
'Input.bindingPropertyName',
|
||||
'InputMetadata',
|
||||
'InputMetadata.bindingPropertyName',
|
||||
'ProtoViewRef',
|
||||
'Query',
|
||||
'Query.descendants',
|
||||
@ -866,8 +866,8 @@ var NG_API = [
|
||||
'RenderDirectiveMetadata.changeDetection=',
|
||||
'RenderDirectiveMetadata.compileChildren',
|
||||
'RenderDirectiveMetadata.compileChildren=',
|
||||
'RenderDirectiveMetadata.events',
|
||||
'RenderDirectiveMetadata.events=',
|
||||
'RenderDirectiveMetadata.outputs',
|
||||
'RenderDirectiveMetadata.outputs=',
|
||||
'RenderDirectiveMetadata.exportAs',
|
||||
'RenderDirectiveMetadata.exportAs=',
|
||||
'RenderDirectiveMetadata.hostAttributes',
|
||||
@ -878,8 +878,8 @@ var NG_API = [
|
||||
'RenderDirectiveMetadata.hostProperties=',
|
||||
'RenderDirectiveMetadata.id',
|
||||
'RenderDirectiveMetadata.id=',
|
||||
'RenderDirectiveMetadata.properties',
|
||||
'RenderDirectiveMetadata.properties=',
|
||||
'RenderDirectiveMetadata.inputs',
|
||||
'RenderDirectiveMetadata.inputs=',
|
||||
'RenderDirectiveMetadata.queries',
|
||||
'RenderDirectiveMetadata.queries=',
|
||||
'RenderDirectiveMetadata.readAttributes',
|
||||
|
Reference in New Issue
Block a user