Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Julien Renaux
    @shprink
    guys, a new version has been released https://www.npmjs.com/package/angular-memory-stats
    it adds some more config to customize the element position
    angular.module('yourModule').config(function(angularMemoryStatsProvider){
        // Boolean
        angularMemoryStatsProvider.enable(true);
    
        // topLeft, topRight, bottomLeft, bottomRight (default)
        angularMemoryStatsProvider.setCorner('bottomRight');
    
        // Customize the element (By default zIndex = 1 and position = fixed)
        angularMemoryStatsProvider.setCss({
          right: '50px',
          zIndex: 999999
        });
    });