Skip to content

Instantly share code, notes, and snippets.

let var = "bar"
@kirakishin
kirakishin / scope.js
Created September 20, 2017 13:30 — forked from albizures/scope.js
Scope
function foo () {
var a = 1
}
@kirakishin
kirakishin / button-types-example.css
Last active September 20, 2017 13:23
Test material buttons
.example-button-row {
display: flex;
align-items: center;
justify-content: space-around;
}
@kirakishin
kirakishin / _app.component.ts
Last active September 26, 2017 08:58
Angular 4 starter
import { Component, NgModule, VERSION } from '@angular/core'
import { trigger, state, style, transition, animate } from '@angular/animations'
@Component({
selector: 'app-body',
template: `
<h2>Hello <span [@brand]="'red'">{{name}}</span> {{version}}</h2>
`,
animations: [
trigger('brand', [ state('red', style({ color: '#DD0031' })), transition('void <=> *', animate('500ms')) ])