Example showing how you can use Singleton with Requirejs.
A Pen by Thiago Lagden on CodePen.
Example showing how you can use Singleton with Requirejs.
A Pen by Thiago Lagden on CodePen.
Better visualization on retina screen
A Pen by Thiago Lagden on CodePen.
Simple example showing how to use Opentip with Requirejs. Obs.: with retina support
A Pen by Thiago Lagden on CodePen.
Markup based on Wufoo forms.
A Pen by Chris Coyier on CodePen.
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.
<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; | |
} |
// scrollToAnimated | |
(function(window) { | |
'use strict'; | |
// provides requestAnimationFrame in a cross browser way | |
window.requestAnimFrame = (function() { | |
'use strict'; | |
return window.requestAnimationFrame || | |
window.webkitRequestAnimationFrame || |
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 |