Skip to content

Commit a68299a

Browse files
Merge pull request #1 from SuganyaRathinam/master
Getting started sample
2 parents 2e69151 + 20719f5 commit a68299a

17 files changed

+13334
-1
lines changed

README.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,11 @@
1-
# getting-started-with-the-angular-dropdown-menu-component
1+
# Getting Started with the Angular Dropdown Menu Component
22
A quick start Angular project that shows how to add the Dropdown Menu component to an Angular application. It shows how to add separators and display icons in the Dropdown Menu. It also shows how to navigate to the other web page when an action item is clicked.
3+
4+
Refer to the following documentation to learn about the Angular Dropdown Menu component: https://ej2.syncfusion.com/angular/documentation/drop-down-button/getting-started
5+
6+
Check out this online example of the Angular Dropdown Menu Component: https://ej2.syncfusion.com/angular/demos/#/material/button/dropdown-button
7+
8+
Make sure that you have the latest versions of NodeJS and Visual Studio Code in your machine before starting to work on this project.
9+
10+
How to run this application?
11+
To run this application, you need to clone the getting-started-with-the-angular-dropdown-menu-component repository and then open it in Visual Studio Code. Now, simply install all the necessary Angular packages into your current project using the npm install command and run your project using the ng serve command.

angular.json

Lines changed: 98 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,98 @@
1+
{
2+
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
3+
"version": 1,
4+
"newProjectRoot": "projects",
5+
"projects": {
6+
"example": {
7+
"projectType": "application",
8+
"schematics": {},
9+
"root": "",
10+
"sourceRoot": "src",
11+
"prefix": "app",
12+
"architect": {
13+
"build": {
14+
"builder": "@angular-devkit/build-angular:application",
15+
"options": {
16+
"outputPath": "dist/example",
17+
"index": "src/index.html",
18+
"browser": "src/main.ts",
19+
"polyfills": [
20+
"zone.js"
21+
],
22+
"tsConfig": "tsconfig.app.json",
23+
"assets": [
24+
"src/favicon.ico",
25+
"src/assets"
26+
],
27+
"styles": [
28+
"src/styles.css"
29+
],
30+
"scripts": []
31+
},
32+
"configurations": {
33+
"production": {
34+
"budgets": [
35+
{
36+
"type": "initial",
37+
"maximumWarning": "500kb",
38+
"maximumError": "1mb"
39+
},
40+
{
41+
"type": "anyComponentStyle",
42+
"maximumWarning": "2kb",
43+
"maximumError": "4kb"
44+
}
45+
],
46+
"outputHashing": "all"
47+
},
48+
"development": {
49+
"optimization": false,
50+
"extractLicenses": false,
51+
"sourceMap": true
52+
}
53+
},
54+
"defaultConfiguration": "production"
55+
},
56+
"serve": {
57+
"builder": "@angular-devkit/build-angular:dev-server",
58+
"configurations": {
59+
"production": {
60+
"buildTarget": "example:build:production"
61+
},
62+
"development": {
63+
"buildTarget": "example:build:development"
64+
}
65+
},
66+
"defaultConfiguration": "development"
67+
},
68+
"extract-i18n": {
69+
"builder": "@angular-devkit/build-angular:extract-i18n",
70+
"options": {
71+
"buildTarget": "example:build"
72+
}
73+
},
74+
"test": {
75+
"builder": "@angular-devkit/build-angular:karma",
76+
"options": {
77+
"polyfills": [
78+
"zone.js",
79+
"zone.js/testing"
80+
],
81+
"tsConfig": "tsconfig.spec.json",
82+
"assets": [
83+
"src/favicon.ico",
84+
"src/assets"
85+
],
86+
"styles": [
87+
"src/styles.css"
88+
],
89+
"scripts": []
90+
}
91+
}
92+
}
93+
}
94+
},
95+
"cli": {
96+
"analytics": false
97+
}
98+
}

0 commit comments

Comments
 (0)