Skip to content
This repository was archived by the owner on Dec 4, 2017. It is now read-only.

docs(style-guide): use input at 05-12 for consistency #1485

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { HeroButtonComponent } from './heroes/shared/hero-button/hero-button.com

@Component({
selector: 'sg-app',
template: '<toh-hero-button></toh-hero-button>',
template: '<toh-hero-button label="OK"></toh-hero-button>',
directives: [HeroButtonComponent]
})
export class AppComponent { }
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { Component, EventEmitter, Input, Output } from '@angular/core';
// #docregion example
@Component({
selector: 'toh-hero-button',
template: `<button>OK</button>`
template: `<button>{{label}}</button>`
})
export class HeroButtonComponent {
@Output() change = new EventEmitter<any>();
Expand Down