(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
| { | |
| "$help": "https://aka.ms/terminal-documentation", | |
| "$schema": "https://aka.ms/terminal-profiles-schema", | |
| "actions": [ | |
| { | |
| "command": "copy", | |
| "keys": "ctrl+shift+c" | |
| }, | |
| { | |
| "command": "paste", |
| import {Component, ElementRef, AfterViewInit, QueryList, ViewChild, ViewChildren} from '@angular/core'; | |
| @Component({ | |
| selector: 'app-something', | |
| templateUrl: '<section #fa1><div #fa1View></div><div #fa1View></div></section>', | |
| styleUrls: [''] | |
| }) | |
| export class AppComponent implements AfterViewInit { | |
| @ViewChild('fa1') fa1: ElementRef; | |
| @ViewChildren('fa1View') fa1Views: QueryList<ElementRef>; |
| /* Material Design Adaptive Breakpoints */ | |
| /* | |
| Below you'll find CSS media queries based on the breakpoint guidance | |
| published by the Material Design team. You can choose to use, customise | |
| or remove these breakpoints based on your needs. | |
| http://www.google.com/design/spec/layout/adaptive-ui.html#adaptive-ui-breakpoints | |
| */ | |
| /* mobile-small */ |
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
| /* ******************************************************************************************* | |
| * THE UPDATED VERSION IS AVAILABLE AT | |
| * https://github.com/LeCoupa/awesome-cheatsheets | |
| * ******************************************************************************************* */ | |
| // 0. Synopsis. | |
| // http://nodejs.org/api/synopsis.html |
When using directives, you often need to pass parameters to the directive. This can be done in several ways. The first 3 can be used whether scope is true or false. This is still a WIP, so validate for yourself.
Raw Attribute Strings
<div my-directive="some string" another-param="another string"></div>