src/components/icon/js/iconService.js
function prepareAndStyle() {
    var viewBoxSize = this.config ? this.config.viewBoxSize : config.defaultViewBoxSize;
    angular.forEach({
      'fit': '',
      'height': '100%',
      'width': '100%',
      'preserveAspectRatio': 'xMidYMid meet',
      'viewBox': this.element.getAttribute('viewBox') || ('0 0 ' + viewBoxSize + ' ' + viewBoxSize),
      'focusable': false // Disable IE11s default behavior to make SVGs focusable
    }, function(val, attr) {
      this.element.setAttribute(attr, val);
    }, this);
  }
function prepareAndStyle() {
    var viewBoxSize = this.config ? this.config.viewBoxSize : config.defaultViewBoxSize;
    angular.forEach({
      'fit': '',
      'height': '100%',
      'width': '100%',
      'preserveAspectRatio': 'xMidYMid meet',
      'viewBox': this.element.getAttribute('viewBox') || ('0 0 ' + viewBoxSize + ' ' + viewBoxSize),
      'focusable': false // Disable IE11s default behavior to make SVGs focusable
    }, function(val, attr) {
      this.element.setAttribute(attr, val);
    }, this);
  }
function prepareAndStyle ( ) { var viewBoxSize = this . config ? this . config . viewBoxSize : config . defaultViewBoxSize ; angular . forEach ( { 'fit' : '' , 'height' : '100%' , 'width' : '100%' , 'preserveAspectRatio' : 'xMidYMid meet' , 'viewBox' : this . element . getAttribute ( 'viewBox' ) || ( '0 0 ' + viewBoxSize + ' ' + viewBoxSize ) , 'focusable' : false // Disable IE11s default behavior to make SVGs focusable } , function ( val , attr ) { this . element . setAttribute ( attr , val ) ; } , this ) ; }
Prepare the DOM element that will be cached in the
loaded iconCache store.
Prepare the DOM element that will be cached in the loaded iconCache store .