Skip to content
This repository has been archived by the owner on May 25, 2021. It is now read-only.

input & output only show up when declared in metadata array #472

Closed
vanessayuenn opened this issue Jul 1, 2016 · 2 comments
Closed

input & output only show up when declared in metadata array #472

vanessayuenn opened this issue Jul 1, 2016 · 2 comments
Labels

Comments

@vanessayuenn
Copy link
Contributor

vanessayuenn commented Jul 1, 2016

Input & Output only show up on the info panel when they're declared in the directive metadata array like so:

@Component({
  inputs: ['hero'],
  outputs: ['deleteRequest'],
})

but not when they're specified using decorators:

@Input() hero: Hero;
@Output() deleteRequest = new EventEmitter<Hero>();
@ericjim
Copy link
Contributor

ericjim commented Jul 6, 2016

I spoke to @sumitarora about this, it appears that we cannot proceed until reflection in angular2 exposes this @Input/@Output.

@sumitarora
Copy link
Member

Fixed: #479 with support of Reflect.getOwnMetadata('propMetadata' type)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants