@angular/core#Input TypeScript Examples

The following examples show how to use @angular/core#Input. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: leaderboard-card.component.ts    From one-platform with MIT License 6 votes vote down vote up
@Input() projectName = '';
Example #2
Source File: loading-spinner.component.ts    From 1hop with MIT License 6 votes vote down vote up
@Input() message = '';
Example #3
Source File: option-selector.component.ts    From 1x.ag with MIT License 6 votes vote down vote up
@Input()
    options = [];
Example #4
Source File: progress-bar.component.ts    From homebridge-nest-cam with GNU General Public License v3.0 6 votes vote down vote up
@Input() progress?: number;
Example #5
Source File: site-request.component.ts    From xBull-Wallet with GNU Affero General Public License v3.0 6 votes vote down vote up
@Input() host!: string;
Example #6
Source File: leaderboard-card.component.ts    From one-platform with MIT License 5 votes vote down vote up
@Input() projectBranch = '';
Example #7
Source File: option-selector.component.ts    From 1x.ag with MIT License 5 votes vote down vote up
@Input()
    @Output()
    option: any;
Example #8
Source File: slippage-settings.component.ts    From gnosis.1inch.exchange with MIT License 5 votes vote down vote up
// Be aware, it's not actual double way binding at the moment.
  // Because component read value only once at initTime
  // That could be improved later on once we have demand fo this
  @Input()
  slippage: string;
Example #9
Source File: expandable-header.directive.ts    From Uber-ServeMe-System with MIT License 5 votes vote down vote up
@Input('scrollHide') config: ScrollHideConfig;
Example #10
Source File: ngx-photo-editor.component.ts    From ngx-photo-editor with MIT License 5 votes vote down vote up
@Input() modalTitle = 'Photo Editor';
Example #11
Source File: document-viewer.component.ts    From transformers-for-lawyers with Apache License 2.0 5 votes vote down vote up
@Input() childMessage: string;
Example #12
Source File: progress-bar.component.ts    From homebridge-nest-cam with GNU General Public License v3.0 5 votes vote down vote up
@Input() total?: number;
Example #13
Source File: tutorial-dialog.component.ts    From bdc-walkthrough with MIT License 5 votes vote down vote up
@Input() name: string;
Example #14
Source File: queryable-input.component.ts    From Smersh with MIT License 5 votes vote down vote up
@Input() public input: InputModel;
Example #15
Source File: incorrect-word.component.ts    From TypeFast with MIT License 5 votes vote down vote up
@Input() value: string;