Giter Club home page Giter Club logo

angular-overlay-menu's Introduction

Overlay menu UI element

This directive is designed to provide a general purpose overlay menu.

Floating menu can be used for both flat and nested navigation structures.

Desgined to be as simple as possible in order to afford intuitive interactions.

Converted into an angular directive for your convenience :)

Demo

Click here for a live demo.

Installation

  1. Install 'angular-overlay-menu' with bower
bower install angular-overlay-menu
  1. Add 'g1b.overlay-menu' module to your app config
angular.module('myApp', [
  'g1b.overlay-menu',
  ......
])
  1. Use directive in your view
<overlay-menu items="menu" on-select="print(item)"></overlay-menu>
  1. Interact with the menu

You can bring up the menu using <Esc> button or by press and hold anywhere on the page.

Attributes

Property Usage Default Required
items Array of arrays with menu items (for nested navigation) none no
on-select Handler function that is fired when user clicks on one of the items none no

Dependencies

angular-overlay-menu's People

Contributors

g1eb avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.