You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/*! AngularTextSlider v0.0.1 | Copyright (c) 2015 Alex Castillo | MIT License */!function(e){"use strict";e.module("textSizeSlider",[]).directive("textSizeSlider",["$document",function(e){return{restrict:"E",template:'<div class="text-size-slider"><span class="small-letter" ng-style="{ fontSize: min + unit }">A</span> <input type="range" min="{{ min }}" max="{{ max }}" ng-model="textSize" class="slider" value="{{ value }}" /> <span class="big-letter" ng-style="{ fontSize: max + unit }">A</span></div>',scope:{min:"@",max:"@",unit:"@",value:"@"},link:function(t){t.textSize=t.value,t.$watch("textSize",function(i){e[0].body.style.fontSize=i+t.unit})}}}])}(angular);