ptz-menu-domain
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

ptz-menu-domain

Build Status NPM codecov.io Dependency Status bitHound Score MIT license

Translations

pt-br en-us

Awesome javascript objects and types for Menus.

Use

Install

    npm install --save ptz-menu-domain

How to use

    import { IMenu } from ptz-menu-domain;

    var menu: IMenu = {
        label: '',
        items: [
            { label: 'Home', link: '/' },
            { label: 'Github', link: 'https://github.com/polutz/polutz' },
            { label: 'About Us', link: '/aboutus' },
            { label: 'Contact', link: '/contact' },
            { label: 'Faq', link: '/faq' },
            { label: 'Log In', link: '/users/login' },
            { label: 'Sign Up', link: '/users/signup' },
            {
                label: 'Users',
                subItems: [
                    { label: 'User Report', link: '/users/report', role: 'USERS_VIEW' }
                ]
            }
        ]
    };

Contribute

NPM Global packages

    npm install -g ts-node babel-cli

Setup

    npm install   

Test

    npm test

Readme

Keywords

none

Package Sidebar

Install

npm i ptz-menu-domain

Weekly Downloads

1

Version

1.0.0

License

ISC

Last publish

Collaborators

  • alanmarcell
  • angeloocana