{"bugs":{"url":"https://github.com/Gbuomprisco/ng2-material-dropdown/issues"},"dist":{"shasum":"89e475ce480aa072d0678d8a16297ec5eb546665","tarball":"https://registry.npmjs.org/ng2-material-dropdown/-/ng2-material-dropdown-0.9.4-beta.tgz","fileCount":22,"integrity":"sha512-yw2ZO3+miy/p6CmSekmtaX5fW55rwl7iBT0tP94Maf94AW1fBNm/9qZ1qkLP7kzr0f/1YMFm3gDEpL7ODoKAcQ==","signatures":[{"sig":"MEUCIExmo7+vLKwNlzj8ZhumuoQ59HO4Z3z0y4xoT1AETz1nAiEApc/kTdB/5i6hVbIQc9WJicclfXlH84fqYxYP7YWKTv8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":340182},"main":"bundles/ng2-material-dropdown.umd.js","name":"ng2-material-dropdown","author":{"name":"Giancarlo Buomprisco","email":"giancarlopsk@gmail.com"},"es2015":"ng2-material-dropdown.js","module":"ng2-material-dropdown.es5.js","readme":"# Angular2 Dropdown Component\n\nMaterial-like dropdown component for Angular2.\n\n## Install\n\n    npm install ng2-material-dropdown --save\n\n## Usage\n\nOnce installed, import the directives and use it them your container component:\n\n```html\n<ng2-dropdown>\n    <ng2-dropdown-button>\n        Open Menu\n    </ng2-dropdown-button>\n    <ng2-dropdown-menu>\n        <ng2-menu-item *ngFor=\"let page of pages\">\n            {{ page }}\n        </ng2-menu-item>\n\n        <div class='ng2-menu-divider'></div>\n\n        <ng2-menu-item>\n            With Divider\n        </ng2-menu-item>\n    </ng2-dropdown-menu>\n</ng2-dropdown>\n```\n\n```javascript\n// import module\nimport { Ng2DropdownModule } from 'ng2-material-dropdown';\n\n@NgModule({\n    imports: [ Ng2DropdownModule ]\n    // ..\n})\nexport class MyModule {}\n```\n\n## API\n\n`ng2-dropdown`\n- **`dynamicUpdate`** - **`[?boolean]`** : option to disable the dynamic update of the position on scroll events (defaults to `true`)\n- **`onItemSelected()`** - **`[(onItemSelected($event)]`** : event that emits the currently selected/hovered item\n- **`onItemClicked()`** - **`[(onItemClicked($event)]`** : event that emits the item clicked on\n- **`onShow()`** - **`[(onItemClicked($event)]`** : event that emits when the dropdown gets shown\n- **`onHide()`** - **`[(onItemClicked($event)]`** : event that emits when the dropdown gets hidden\n\n`ng2-dropdown-menu`\n- **`focusFirstElement`** - **`[?boolean]`** : by default the first element is immediately focused. You can disable by setting this option to false\n- **`width`** - **`[?number]`**: this determines the width of the menu. Possible values are 2, 4 and 6. By default, this is set to 4\n- **`offset`** - **`[?string]`**: offset to adjust the position of the dropdown with absolute values\n- **`appendToBody`** - **`[?boolean]`** : by default the dropdown is appended to the body, but you can disable this by setting it to `false`\n\n\n`ng2-dropdown-button`\n- **`showCaret`** - **`[?boolean]`** : if present, a caret will be appended to the button's text\n\n`ng2-menu-item`\n- **`preventClose`** - `[?boolean]` : if present, this attribute prevents the menu to hide when the menu item is clicked\n- **`value` - `[?any]`** : any value that you may want to attach to a menu item. Useful for using this component with other components.\n","$schema":"./node_modules/ng-packagr/package.schema.json","license":"MIT","scripts":{"test":"karma start karma.conf.js --single-run","build":"ng-packagr && mkdir ./dist/dist && cp ./dist/bundles/ng2-material-dropdown.umd.js ./dist/dist/ng2-dropdown.bundle.js","start":"npm run server","server":"webpack-dev-server --config webpack.demo.js --inline --colors --progress --display-error-details --display-cached --port 3005  --content-base demo","release":"npm run build && npm publish dist","postrelease":"rm -rf dist"},"typings":"ng2-material-dropdown.d.ts","_npmUser":{"name":"giancarlo_psk","email":"giancarlopsk@gmail.com"},"homepage":"https://github.com/Gbuomprisco/ng2-material-dropdown","keywords":["angular 5","angular 5 material dropdown","angular 5 component dropdown","angular 5 dropdown","angular 5 menu"],"metadata":"ng2-material-dropdown.metadata.json","repository":{"url":"git+https://github.com/Gbuomprisco/ng2-material-dropdown.git","type":"git"},"_npmVersion":"5.8.0","description":"Angular material-like dropdown component","directories":{},"maintainers":[{"name":"giancarlo_psk","email":"giancarlopsk@gmail.com"}],"_nodeVersion":"9.10.1","contributors":[],"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"rxjs":"^5.5.0","karma":"^0.13.22","precss":"^1.4.0","tslint":"^3.5.0","core-js":"^2.2.0","jasmine":"^2.4.1","ts-node":"^0.7.3","typings":"~1.0.3","webpack":"^1.14.0","zone.js":"0.8.5","es6-shim":"0.35.0","node-sass":"^3.8.0","css-loader":"^0.23.1","ng-packagr":"^1.6.0","protractor":"^3.3.0","raw-loader":"^0.5.1","ts-helpers":"1.1.1","typescript":"~2.4.2","url-loader":"^0.5.7","@types/node":"^6.0.39","es6-promise":"3.0.2","file-loader":"^0.9.0","html-loader":"^0.4.3","sass-loader":"^3.2.1","autoprefixer":"^6.3.7","style-loader":"^0.13.1","@angular/core":"^5.0.0","@angular/http":"^5.0.0","karma-jasmine":"^0.3.8","karma-webpack":"1.7.0","webpack-merge":"^0.8.4","@angular/forms":"^5.0.0","@types/jasmine":"^2.2.34","karma-coverage":"^1.0.0","postcss-loader":"^0.9.1","svg-url-loader":"^1.0.3","@angular/common":"^5.0.0","@types/es6-shim":"0.0.22-alpha","reflect-metadata":"0.1.2","@angular/compiler":"^5.0.0","source-map-loader":"^0.1.5","webpack-dev-server":"^1.16.2","@angular/animations":"^5.0.0","@angular/compiler-cli":"^5.0.0","karma-chrome-launcher":"^0.2.3","@types/es6-collections":"^0.5.29","karma-sourcemap-loader":"^0.3.7","angular2-template-loader":"0.6.0","@angular/platform-browser":"^5.0.0","awesome-typescript-loader":"3.0.0-beta.10","@angular/platform-browser-dynamic":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/ng2-material-dropdown_0.9.4-beta_1522925960413_0.6274673623393097","host":"s3://npm-registry-packages"},"_id":"ng2-material-dropdown@0.9.4-beta","version":"0.9.4-beta"}