-
- Include script
<script type="text/javascript" src="js/inobounce.min.js"></script>
- Include script
-
- Add css to .views container
.views {
height: 100%;
overflow: auto;
-webkit-overflow-scrolling: touch;
}
| <template> | |
| <div id="homepage"> | |
| <h1>Les dernières Articles</h1> | |
| <div class="article" v-for="article in articles"> | |
| <h2> {{ article.title }} </h2> | |
| <p> {{ article.content }} </p> | |
| </div> | |
| </div> | |
| </template> |
<script type="text/javascript" src="js/inobounce.min.js"></script>.views {
height: 100%;
overflow: auto;
-webkit-overflow-scrolling: touch;
}
| [ | |
| // duplicar línea abajo | |
| { | |
| "key": "shift+ctrl+d", | |
| "command": "editor.action.copyLinesDownAction", | |
| "when": "editorTextFocus" | |
| } | |
| ] |
| <div class="container"> | |
| <button md-raised-button color="primary" (click)="fileInput.click()">Upload</button> | |
| <input hidden type="file" #fileInput> | |
| </div> |
| [ngValue]="item.value ? item.value : item" |
| const http = require('http'); | |
| const hostname = '127.0.0.1'; | |
| const port = 3000; | |
| const server = http.createServer(function(req, res) { | |
| res.statusCode = 200; | |
| res.setHeader('Content-Type', 'text/plain'); | |
| res.end('Hello World\n'); | |
| }); |
| npm install angularfire2@next -- save |
npm i -g angular-cli-ghpages| <ion-list radio-group (ionChange)="userSelected($event)"> | |
| <user *ngFor="let user of users" | |
| [data]="user"></user> | |
| </ion-list> | |
| // Dentro de un grupo de radio buttons, al seleccionar alguno de los elementos |
| question.title = `Hello ${this.name}, how old are you?`; |