Skip to content

Commit a42ffb3

Browse files
authored
Add files via upload
1 parent 224ce3c commit a42ffb3

27 files changed

+13475
-2
lines changed

README.md

Lines changed: 36 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,36 @@
1-
# ej2-angular-5-multiselct-dropdown
2-
A quick start project that helps you to create an Angular 5 MultiSelect Dropdown with minimal code configuration.
1+
# Syncfusion Angular 5 MultiSelect Dropdown Quick Start Project
2+
3+
A quick start project that helps you to create the Syncfusion Angular 5 MultiSelect Dropdown with minimal code configuration.
4+
5+
![Angular 5 MultiSelect Dropdown](multiselect-dropdown.png)
6+
7+
## MultiSelect Dropdown features covered in this Project
8+
9+
This is an Angular 5 project created using [Angular CLI](https://github.com/angular/angular-cli) 1.5.6. The MultiSelect Dropdown features included in this project are as follows.
10+
* Angular 5 MultiSelect Dropdown initialization.
11+
* Data binding to the MultiSelect Dropdown.
12+
* Setting the value on initial rendering.
13+
* Getting the value on button submit action.
14+
15+
## How to run this application?
16+
To run this application, you need to first clone the `ej2-angular-5-multiselct-dropdown` repository and then navigate to its appropriate path where it has been located in your system.
17+
18+
To do so, open the command prompt and run the below commands one after the other.
19+
20+
```
21+
git clone https://github.com/SyncfusionSamples/ej2-angular-5-multiselct-dropdown.git
22+
cd ej2-angular-5-multiselct-dropdown
23+
```
24+
25+
## Installing
26+
Once done with downloading, next you need to install the necessary packages required to run this application locally. The `npm install` command will install all the needed angular packages into your current project and to do so, run the below command.
27+
28+
```
29+
npm install
30+
```
31+
## Running on development server
32+
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.
33+
34+
## Further help
35+
36+
To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI README](https://github.com/angular/angular-cli/blob/master/README.md).

e2e/app.e2e-spec.ts

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
import { AppPage } from './app.po';
2+
3+
describe('ej2-angular5-multiselect App', () => {
4+
let page: AppPage;
5+
6+
beforeEach(() => {
7+
page = new AppPage();
8+
});
9+
10+
it('should display welcome message', () => {
11+
page.navigateTo();
12+
expect(page.getParagraphText()).toEqual('Welcome to app!');
13+
});
14+
});

e2e/app.po.ts

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
import { browser, by, element } from 'protractor';
2+
3+
export class AppPage {
4+
navigateTo() {
5+
return browser.get('/');
6+
}
7+
8+
getParagraphText() {
9+
return element(by.css('app-root h1')).getText();
10+
}
11+
}

e2e/tsconfig.e2e.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"extends": "../tsconfig.json",
3+
"compilerOptions": {
4+
"outDir": "../out-tsc/e2e",
5+
"baseUrl": "./",
6+
"module": "commonjs",
7+
"target": "es5",
8+
"types": [
9+
"jasmine",
10+
"jasminewd2",
11+
"node"
12+
]
13+
}
14+
}

karma.conf.js

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
// Karma configuration file, see link for more information
2+
// https://karma-runner.github.io/1.0/config/configuration-file.html
3+
4+
module.exports = function (config) {
5+
config.set({
6+
basePath: '',
7+
frameworks: ['jasmine', '@angular/cli'],
8+
plugins: [
9+
require('karma-jasmine'),
10+
require('karma-chrome-launcher'),
11+
require('karma-jasmine-html-reporter'),
12+
require('karma-coverage-istanbul-reporter'),
13+
require('@angular/cli/plugins/karma')
14+
],
15+
client:{
16+
clearContext: false // leave Jasmine Spec Runner output visible in browser
17+
},
18+
coverageIstanbulReporter: {
19+
reports: [ 'html', 'lcovonly' ],
20+
fixWebpackSourcePaths: true
21+
},
22+
angularCli: {
23+
environment: 'dev'
24+
},
25+
reporters: ['progress', 'kjhtml'],
26+
port: 9876,
27+
colors: true,
28+
logLevel: config.LOG_INFO,
29+
autoWatch: true,
30+
browsers: ['Chrome'],
31+
singleRun: false
32+
});
33+
};

multiselect-dropdown.png

11.4 KB
Loading

0 commit comments

Comments
 (0)