npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2025 – Pkg Stats / Ryan Hefner

presentation-navigation

v3.0.11

Published

The Augmented.js Next - Presentation Application Module.

Downloads

29

Readme

presentation-navigation

Augmented.js Next Presentation - Navigation Components

API

Table of Contents

HamburgerMenu

Extends AbstractToolbar

A Hamburger Menu View

Parameters

  • options

render

Render the Hamburger Menu

Returns object Returns the view context ('this')

toggle

Toggle the Hamburger menu view

AbstractToolbar

Extends DecoratorView

An abstract tooldbar Component, designed to be extended As an abstract it's not intented to use directly, most of the api creates the toolbars and no need to pass to constructor. Supported Options:

Parameters

  • options object Options to pass

addItem

The model property

Parameters

  • id
  • click
  • icon
  • title
  • spacer (optional, default false)

Properties

  • model Model The model property

addItem

The initialized property

Parameters

  • id
  • click
  • icon
  • title
  • spacer (optional, default false)

Properties

  • isInitalized boolean The initialized property

addItem

The menuItems property

Parameters

  • id
  • click
  • icon
  • title
  • spacer (optional, default false)

Properties

  • menuItems array The initialized property

addItem

The title property

Parameters

  • id
  • click
  • icon
  • title
  • spacer (optional, default false)

Properties

  • title string The title property

addItem

Adds an item to the menu

Parameters

  • id {string} The id of the itemID
  • click {string} The bound click method to call
  • icon {string} The icon name (webfont)
  • title {string} The title of the itemID
  • spacer {boolean} Sets a spacer item vs text (not clickable) (optional, default false)

Examples

addItem({"itemID", "event", "web", "something", false });
addItem({"space", null, null, null, true });

addLabel

Adds a label (no click) to the menu

Parameters

  • id {string} The id of the itemID
  • icon {string} The icon name (webfont) (optional, default null)
  • title {string} The title of the itemID
  • level {number} Set the level of the title (1 = h1, 2 = h2, etc. 0 is default and just text) (optional, default 0)

Examples

addLabel({"itemID", "web", "something"});
addLabel({"itemID", "mail", "something", 1});

addSpacer

Adds a spacer item to the menu

Examples

addSpacer();

clearMenuItems

Clear all items in the menu

select

Select an item in the menu

Parameters

getItem

Get an item in the menu

Parameters

Menu

Extends AbstractToolbar

A Menu

Parameters

  • options

render

Renders the Menu

Returns object Returns the view context ('this')

NavigationMenu

Extends AbstractToolbar

A Navigation Menu

Parameters

  • options

render

Renders the Menu

Returns object Returns the view context ('this')

NotificationCenter

Extends AbstractToolbar

A Notfication Center Component

Parameters

  • options

notifications

showNotification

Show the NotificationCenter

hideNotification

Hide the NotificationCenter

clearNotifications

Clear the NotificationCenter

render

Renders the Menu

Returns object Returns the view context ('this')

Toolbar

Extends AbstractToolbar

A Toolbar View

Parameters

  • options

render

Render the Toolbar

Returns object Returns the view context ('this')

Iconbar

Extends AbstractToolbar

An Iconbar View

Parameters

  • options

addIcon

Adds an item to the menu

Parameters

  • id {string} The id of the itemID
  • click {string} The bound click method to call
  • icon {string} The icon name (webfont) or image src uri
  • toolTip {string} The toolTip of the itemID
  • isImageLink {boolean} Sets is icon is an image link vs web font

Examples

addIcon({"itemID", "event", "settings", "something", false });
addIcon({"itemID", "event", "/images/blah.png", "something", true });

render

Render the Toolbar

Returns object Returns the view context ('this')