Skip to content

Instantly share code, notes, and snippets.

View lagden's full-sized avatar
🎯
Focusing

Thiago Magalhães lagden

🎯
Focusing
  • São Paulo
View GitHub Profile
@lagden
lagden / Requirejs-using-Singleton.markdown
Created April 10, 2014 23:05
A Pen by Thiago Lagden.
@lagden
lagden / Canvas-Retina.markdown
Created April 16, 2014 19:15
A Pen by Thiago Lagden.

Example Opentip with Requirejs

Simple example showing how to use Opentip with Requirejs. Obs.: with retina support

A Pen by Thiago Lagden on CodePen.

License.

@lagden
lagden / Simple-Responsive-Form.markdown
Created May 30, 2014 21:53
A Pen by Chris Coyier.
@lagden
lagden / Requirejs-+-Angular.markdown
Created June 28, 2014 20:17
A Pen by Thiago Lagden.

Requirejs + Angular

An example of how you can use Angular with Requirejs. Plus: Using a service to make the communication between controllers

A Pen by Thiago Lagden on CodePen.

License.

<div class="switchRadio">
<input data-title="Funciona?" required="1" name="isso[funciona]" type="radio" value="1" id="funca_1" aria-required="true">
<input data-title="Funciona?" required="1" name="isso[funciona]" type="radio" value="0" id="funca_0" aria-required="true">
<label data-title="Funciona?" required="1" for="funca_1" class="ir radio__handler" aria-required="true">Sim</label>
<label data-title="Funciona?" required="1" for="funca_0" class="ir radio__handler" aria-required="true">Não</label>
</div>
<link rel="import" href="../core-animated-pages/core-animated-pages.html">
<link rel="import" href="../core-animated-pages/transitions/hero-transition.html">
<link rel="import" href="../core-animated-pages/transitions/cross-fade.html">
<link rel="import" href="../core-animated-pages/transitions/slide-down.html">
<link rel="import" href="../core-animated-pages/transitions/slide-up.html">
<link rel="import" href="../core-animated-pages/transitions/tile-cascade.html">
<polymer-element name="my-element">
<template>
<link rel="import" href="../polymer/polymer.html">
<polymer-element name="switch-radio" role="checkbox" tabindex="0" attributes="checked captionOn captionOff" touch-action="pan-y" aria-label="Always" aria-checked="false">
<template>
<style>
:host {
display: inline-block;
position: relative;
}
@lagden
lagden / scrollToAnimated
Created September 2, 2014 05:53
scrollToAnimated
// scrollToAnimated
(function(window) {
'use strict';
// provides requestAnimationFrame in a cross browser way
window.requestAnimFrame = (function() {
'use strict';
return window.requestAnimationFrame ||
window.webkitRequestAnimationFrame ||
@lagden
lagden / LICENSE.txt
Last active August 29, 2015 14:06 — forked from addyosmani/README.md
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2014
Copyright (C) 2014 Addy Osmani @addyosmani
Everyone is permitted to copy and distribute verbatim or modified
copies of this license document, and changing it is allowed as long
as the name is changed.
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE