-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs(Button): Rimuovi codice superfluo dalla documentazione del bottone
ref #44
- Loading branch information
Mario Traetta
committed
Jul 30, 2018
1 parent
6b1621e
commit f1ef909
Showing
6 changed files
with
10 additions
and
39 deletions.
There are no files selected for viewing
9 changes: 2 additions & 7 deletions
9
src/app/button/button-example-color/button-example-color.component.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,10 @@ | ||
import { Component, OnInit } from '@angular/core'; | ||
import { Component } from '@angular/core'; | ||
|
||
@Component({ | ||
selector: 'it-button-example-color', | ||
templateUrl: './button-example-color.component.html', | ||
styleUrls: ['./button-example-color.component.scss'] | ||
}) | ||
export class ButtonExampleColorComponent implements OnInit { | ||
|
||
constructor() { } | ||
|
||
ngOnInit() { | ||
} | ||
export class ButtonExampleColorComponent { | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,14 @@ | ||
import { Component, OnInit } from '@angular/core'; | ||
import { Component } from '@angular/core'; | ||
|
||
@Component({ | ||
selector: 'it-button-example', | ||
templateUrl: './button-example.component.html', | ||
styleUrls: ['./button-example.component.scss'] | ||
}) | ||
export class ButtonExampleComponent implements OnInit { | ||
export class ButtonExampleComponent { | ||
color = 'primary'; | ||
disabled = false; | ||
isOutlined = false; | ||
size = 'lg'; | ||
isBlock = false; | ||
|
||
constructor() { } | ||
|
||
ngOnInit() { | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,17 @@ | ||
import { Component, OnInit } from '@angular/core'; | ||
import { Component } from '@angular/core'; | ||
import * as Documentation from '../../../assets/documentation.json'; | ||
|
||
@Component({ | ||
selector: 'it-button-index', | ||
templateUrl: './button-index.component.html', | ||
styleUrls: ['./button-index.component.scss'] | ||
}) | ||
export class ButtonIndexComponent implements OnInit { | ||
export class ButtonIndexComponent { | ||
|
||
component: any; | ||
|
||
constructor() { | ||
this.component = (<any>Documentation).components.find(component => component.name === 'ButtonComponent'); | ||
} | ||
|
||
ngOnInit() { | ||
} | ||
|
||
} |