This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$grid__bp-sm: 576; | |
$grid__bp-md: 768; | |
$grid__bp-lg: 992; | |
$grid__bp-xl: 1200; | |
$grid__cols: 12; | |
$map-grid-props: ( | |
'': 0, | |
'-sm': $grid__bp-sm, | |
'-md': $grid__bp-md, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { Directive, ElementRef, Input, Renderer } from '@angular/core'; | |
import { NgControl, FormControl } from '@angular/forms'; | |
@Directive({ | |
selector: '[ng-disable]' | |
}) | |
export class NgDisableDirective { | |
@Input('ng-disable') public isDisabled: boolean = false; | |
private control: FormControl = new FormControl(''); | |
private wrapper; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function (angular) { | |
"use strict"; | |
focusElemDirective.$inject = ['$timeout', '$parse']; | |
function focusElemDirective($timeout, $parse) { | |
return { | |
link: function (scope, element, attrs) { | |
var input = $parse(attrs.focusElem); |