This repository stores code examples of the Angular DropDownButton component for the Getting Started with DropDownButton tutorial. The DropDownButton combines the functionality of a button and a drop-down menu. This tutorial describes how to configure a DropDownButton that logs user clicks in the browser console.
This project was generated with Angular CLI version 10.2.0.
Run ng serve
for a dev server. Navigate to http://localhost:4200/
. The app will automatically reload if you change any of the source files.
Run ng generate component component-name
to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module
.
Run ng build
to build the project. The build artifacts will be stored in the dist/
directory. Use the --prod
flag for a production build.
Run ng test
to execute unit tests using Karma.
Run ng e2e
to execute end-to-end tests using Protractor.
For help with Angular CLI, use ng help
or review the Angular CLI Overview and Command Reference page.