How to use topbar - 2 common examples

To help you get started, we’ve selected a few topbar examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github Qsnh / meedu / public / theadmin / src / assets / js / app.js View on Github external
// Make necessary changes
    //
    if ( app.defaults.smoothscroll ) {
      app.provide('smoothscroll');
    }

    // Recover saved states
    //
    if ( app.defaults.saveState ) {
      var states = app.state();
      if ( states['sidebar.folded'] ) {
        sidebar.fold();
      }

      if ( states['topbar.fixed'] ) {
        topbar.fix();
      }
    }
  }
github Qsnh / meedu / public / theadmin / src / assets / js / src / app.js View on Github external
// Make necessary changes
    //
    if ( app.defaults.smoothscroll ) {
      app.provide('smoothscroll');
    }

    // Recover saved states
    //
    if ( app.defaults.saveState ) {
      var states = app.state();
      if ( states['sidebar.folded'] ) {
        sidebar.fold();
      }

      if ( states['topbar.fixed'] ) {
        topbar.fix();
      }
    }
  }

topbar

Tiny & beautiful site-wide progress indicator

MIT
Latest version published 5 months ago

Package Health Score

67 / 100
Full package analysis

Popular topbar functions