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
0 info it worked if it ends with ok | |
1 verbose cli [ '/Users/anasrazafirdousi/.nvm/versions/node/v6.10.2/bin/node', | |
1 verbose cli '/Users/anasrazafirdousi/.nvm/versions/node/v6.10.2/bin/npm', | |
1 verbose cli 'install', | |
1 verbose cli 'oracledb' ] | |
2 info using npm@3.10.10 | |
3 info using node@v6.10.2 | |
4 silly loadCurrentTree Starting | |
5 silly install loadCurrentTree | |
6 silly install readLocalPackageData |
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
npm info it worked if it ends with ok | |
npm verb cli [ '/Users/anasrazafirdousi/.nvm/versions/node/v6.10.2/bin/node', | |
npm verb cli '/Users/anasrazafirdousi/.nvm/versions/node/v6.10.2/bin/npm', | |
npm verb cli 'install', | |
npm verb cli '--verbose', | |
npm verb cli 'oracledb' ] | |
npm info using npm@3.10.10 | |
npm info using node@v6.10.2 | |
npm verb request uri https://registry.npmjs.org/oracledb | |
npm verb request always-auth set; sending authorization |
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
<div>{{label}}</div> <!-- Using div for lable is just for demonstration purpose. --> | |
<input type="text" /> |
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
@Component({ | |
selector: 'my-custom-input', | |
templateUrl: 'src/my-custom-input.component.html', | |
styles:[` | |
div { | |
border-bottom:1px solid red; | |
display:inline-block; | |
} | |
input { |
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
@Component({ | |
selector: 'my-custom-input', | |
templateUrl: 'src/my-custom-input.component.html', | |
styleUrls:['src/my-custom-input.component.css'], | |
encapsulation: ViewEncapsulation.Emulated | |
}) | |
export class MyCustomInput { | |
@Input() label; |
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
div { | |
border-bottom:1px solid red; | |
display:inline-block; | |
} | |
input { | |
border:none; | |
border-bottom:1px solid red; | |
outline:none; | |
color:red; |
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
:host { | |
background-color: #ffffe5; | |
border:1px solid red; | |
padding:10px; | |
} | |
div { | |
border-bottom:1px solid red; | |
display:inline-block; | |
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
<div>{{label}}</div> <!-- Using div for lable is just for demonstration purpose. --> | |
<ng-content></ng-content> |
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
@Component({ | |
selector: 'my-app', | |
template: ` | |
<div> | |
<h2>Hello {{name}}</h2> | |
<my-custom-input [label]="'Name'"> | |
<input type="text"> | |
</my-custom-input> | |
</div> | |
`, |
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
<my-custom-input [label]="'Name'"> | |
<input type="text"> | |
</my-custom-input> | |
<my-custom-input [label]="'Password'"> | |
<input type="password"> | |
</my-custom-input> | |
<my-custom-input [label]="'Number'"> | |
<input type="date"> |
OlderNewer