Skip to content

Instantly share code, notes, and snippets.

@kulshekhar
kulshekhar / Gradient.js
Created Sep 3, 2022 — forked from jordienr/Gradient.js
Stripe Mesh Gradient WebGL
View Gradient.js
/*
* Stripe WebGl Gradient Animation
* All Credits to Stripe.com
* ScrollObserver functionality to disable animation when not scrolled into view has been disabled and
* commented out for now.
* https://kevinhufnagl.com
*/
@kulshekhar
kulshekhar / CanActivate.dart
Created Dec 22, 2016
AngularDart sample using CanActivate
View CanActivate.dart
import 'dart:html';
import 'package:angular2/core.dart';
import 'package:angular2/router.dart';
@Component(
selector: 'my-app',
styleUrls: const ['app_component.css'],
template: '''
<h1>My First Angular 2 App</h1>