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

closes #1485
This commit is contained in:
Foxandxss 2016-05-23 16:02:41 +02:00 committed by Ward Bell
parent 915de49863
commit 7a43e0a548
2 changed files with 2 additions and 2 deletions

View File

@ -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 { }

View File

@ -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>();