Skip to content

Add dropdwon opened event #978

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 70 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
70 commits
Select commit Hold shift + click to select a range
3103352
fix(Regex): escape all characters to prevent exception
jhuntoo Apr 18, 2016
720ceba
Merge branch 'jhuntoo-master' into development
valorkin Apr 20, 2016
bba35f4
feature(test): add karma webpack test runner
jhuntoo Apr 20, 2016
6266d98
fix(misprint): replaced hightlight with highlight
WolvenOne27 Apr 21, 2016
14d8ea7
Merge branch 'WolvenOne27-master' into development
valorkin Apr 22, 2016
4718b0f
feat(build): enabled tslinting
valorkin Apr 25, 2016
b6a038e
Merge branch 'development' into add-test-runner
valorkin Apr 25, 2016
749ac97
feat(build): added codecov integration
valorkin Apr 25, 2016
376c4b4
Merge branch 'add-test-runner' into development
valorkin Apr 25, 2016
c46c0ff
fix(select): clicking on the input now causes the item list to appear…
jhuntoo Apr 26, 2016
82437ad
chore(package): update clean-webpack-plugin to version 0.1.9 (#169)
greenkeeperio-bot Apr 27, 2016
0644067
chore(package): update tslint-config-valorsoft to version 1.0.2
greenkeeperio-bot Apr 27, 2016
06f57e4
chore(package): removed direct codelyzer dependecy
valorkin Apr 27, 2016
5e877e5
Merge branch 'development' into greenkeeper-tslint-config-valorsoft-1…
valorkin Apr 27, 2016
7f091ba
Merge branch 'greenkeeper-tslint-config-valorsoft-1.0.2' into develop…
valorkin Apr 27, 2016
f5157df
chore(build): updated accordingly to ng2 style guide
valorkin Apr 27, 2016
d59368d
feat(package): update to angular 2 rc1
feedyourmind May 18, 2016
7fbe339
fix(package): updated code style\fixed ng2 imports
valorkin May 18, 2016
f479a62
1.0.3
valorkin May 18, 2016
f372961
chore(package): update systemjs-builder to version 0.15.17 (#205)
greenkeeperio-bot May 19, 2016
530ef23
chore(package): update cpy-cli to version 1.0.1 (#204)
greenkeeperio-bot May 19, 2016
70c9d4b
chore(package): update eslint-config-valorsoft to version 0.0.14 (#206)
greenkeeperio-bot May 19, 2016
e53bdd4
chore(package): update webpack to version 1.13.1 (#207)
greenkeeperio-bot May 20, 2016
203cd58
chore(package): update eslint-config-valorsoft to version 0.0.15 (#220)
greenkeeperio-bot May 30, 2016
e61f084
chore(package): update html-webpack-plugin to version 2.19.0 (#219)
greenkeeperio-bot May 30, 2016
57f67fc
chore(package): update copy-webpack-plugin to version 3.0.1 (#218)
greenkeeperio-bot May 30, 2016
ee7830b
chore(package): update systemjs-builder to version 0.15.18 (#215)
greenkeeperio-bot May 30, 2016
c178431
feat(css): removed most hardcoded css, instead rely on bootstrap css …
linusbrolin May 30, 2016
cf7f110
feat(input): Added selectable inputfields instead of forcing id and t…
linusbrolin May 30, 2016
7f4e9f6
fix(filter): possible dupes in filter (#212)
linusbrolin May 30, 2016
b018f4b
chore(package): update ng2-bootstrap to version 1.0.17 (#222)
greenkeeperio-bot May 31, 2016
409e07b
chore(package): update systemjs-builder to version 0.15.19 (#224)
greenkeeperio-bot Jun 1, 2016
ba61815
chore(package): update awesome-typescript-loader to version 0.19.0 (#…
greenkeeperio-bot Jun 6, 2016
f83764f
fix(): firefox issue (#273)
Jun 24, 2016
2c090f3
fix(select): allow empty items
Jun 24, 2016
1ddbcd9
feat: programmatically select active items (#223)
Namek Jun 27, 2016
5b992e9
feat(package): updated to rc.4 and new forms (#311)
Jul 19, 2016
388506f
fix(options): fixed the disabled state (#225)
linusbrolin Jul 19, 2016
d39def2
fix(docs): updated property name for active items (#318)
Jul 24, 2016
e642025
Fixed the bug where children of an object weren't passed to the const…
lpotapczuk Aug 10, 2016
10aeaba
feat(package): update to angular 2.0.0 (#412)
otelnov Sep 21, 2016
bbba0f5
1.1.0
valorkin Sep 21, 2016
fa37202
Merge branch 'master' into development
valorkin Sep 21, 2016
926e14d
fix(select): issue #437 (#454)
vixriihi Oct 5, 2016
ba627d0
1.1.1
valorkin Oct 18, 2016
43b4c10
fix(close): dropdown by missclick (#515)
SergeyKuryatnick Nov 11, 2016
99a9a53
1.1.2
valorkin Nov 11, 2016
2c211cc
avoid peer messages (#475)
grauschnabel Dec 21, 2016
77ddc89
#557: Fix rendering select component on firefox (#559)
Matiszak Dec 21, 2016
f9750f4
Added output "opened" to component (#546)
hellivan Dec 21, 2016
aaadcbb
fix(forms): Validation compliant to ngModel (#575)
toke182 Jan 17, 2017
ad16168
#545 fixed (#567)
jay-perera Jan 17, 2017
7330f47
fix: add checking for not udefined document object (#541)
dimonzav Jan 17, 2017
7cbeb46
fix(demo): Removed duplicated attribute (data)="value" from multiple-…
SergeyKuryatnick Jan 17, 2017
93ed189
Parse HTML in multiple select views (#490)
DanielKucal Jan 17, 2017
de2f495
(fix) remove handle click behaviour on single mode (#457)
lzoubek Jan 17, 2017
95397f6
Fixed bug where custom id/textfields were ignored (#374)
linusbrolin Jan 17, 2017
5c3a4e1
fix(select): compare the ID of a SelectItem instead of its text (#358)
mateuszkocz Jan 17, 2017
bf1e62a
Merge branch 'development' of git://github.com/lpotapczuk/ng2-select …
valorkin Jan 17, 2017
b133c73
Merge branch 'lpotapczuk-development' into development
valorkin Jan 17, 2017
71536bc
feat(select): update to ng v2.3+ (#590)
valorkin Jan 18, 2017
b46c0c2
chore(readme): readme update
valorkin Jan 18, 2017
3afaf63
v1.2.0
valorkin Jan 18, 2017
6328439
fix(demo): update dependencies, fix aot build (#902)
IlyaSurmay Nov 21, 2017
201c6e2
feat(forms): adds functionality to make ng2-select compatible with fo…
sonukapoor Nov 22, 2017
ce84518
fix(test): add tsconfig for specs (#904)
IlyaSurmay Nov 22, 2017
1f2f05e
2.0.0
valorkin Nov 23, 2017
0de85cc
chore(package): don't hard bind version in package
valorkin Nov 23, 2017
a995e53
chore(package): upgrade peer deps to support ng v4 and 5
valorkin Nov 23, 2017
855ac2f
fix(ci): fix travis (#906)
IlyaSurmay Nov 23, 2017
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
103 changes: 0 additions & 103 deletions .config/bundle-system.js

This file was deleted.

6 changes: 0 additions & 6 deletions .eslintrc.json

This file was deleted.

47 changes: 28 additions & 19 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,30 +1,39 @@
# Dependency directory
# https://www.npmjs.org/doc/misc/npm-faq.html#should-i-check-my-node_modules-folder-into-git
/node_modules
npm-debug.log
/bower_components

# type script artifacts
/typings
# IDEs and editors
/.idea
/.vscode
.project
.classpath
*.launch
.settings/

# WebStorm
.idea
# misc
/.sass-cache
/connect.lock
/coverage
/libpeerconnection.log
npm-debug.log

# ignore build and dist for now
/bundles
/demo-build
/dist
/coverage
/ts
/temp
.tmp
/demo/dist
/demo/temp
/logs

#System Files
.DS_Store
Thumbs.db

/demo/**/*.js
/demo/**/*.js.map
/demo/**/*.d.ts
/components/**/*.js
/components/**/*.js.map
/components/**/*.d.ts
ng2-select.js
ng2-select.js.map
ng2-select.d.ts

/logs
/demo/e2e/*.js
/demo/e2e/*.map
src/**/*.js
src/**/*.map
scripts/**/*.js
scripts/**/*.map
24 changes: 0 additions & 24 deletions .npmignore

This file was deleted.

80 changes: 61 additions & 19 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,64 @@
sudo: false
language: node_js
node_js:
- "5"
- "4"
node_js: "8"

notifications:
email: false

git:
depth: 3
submodules: false

env:
global:
- LOGS_DIR=/tmp/logs

stages:
- name: precache
- name: lint
- name: test

before_install:
- npm install -g npm@latest

script:
- npm run flow.install:typings
- npm test

addons:
# sauce labs tunel connector (read more https://docs.travis-ci.com/user/sauce-connect/ )
sauce_connect: true
firefox: "42.0"
apt:
sources:
- ubuntu-toolchain-r-test
# required by node-gyp to build some packages
packages:
- g++-4.8
- export CHROME_BIN=chromium-browser
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
- rm -rf node_modules/ng2-select

install:
- npm install > /dev/null
- npm run build > /dev/null
- npm i ./dist > /dev/null

jobs:
fast_finish: true
include:
# precache npm and apt dependencies
- stage: precache
install: npm install > /dev/null
script: true
addons:
chrome: stable
apt:
sources:
- ubuntu-toolchain-r-test
# required by node-gyp to build some packages
packages:
- g++-4.8
# lint code
- stage: lint
install: true
script: npm run lint
# test
- &test
stage: test
script: npm run test-coverage
after_success:
- ./node_modules/.bin/codecov
#
cache:
apt: true
npm: true
directories:
- node_modules


116 changes: 116 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,116 @@
<a name="2.0.0"></a>
# [2.0.0](https://github.com/valor-software/ng2-select/compare/v1.2.0...v2.0.0) (2017-11-23)


### Bug Fixes

* **demo:** update dependencies, fix aot build ([#902](https://github.com/valor-software/ng2-select/issues/902)) ([6328439](https://github.com/valor-software/ng2-select/commit/6328439))
* **test:** add tsconfig for specs ([#904](https://github.com/valor-software/ng2-select/issues/904)) ([ce84518](https://github.com/valor-software/ng2-select/commit/ce84518))


### Features

* **forms:** adds functionality to make ng2-select compatible with form-controls ([#881](https://github.com/valor-software/ng2-select/issues/881)) ([201c6e2](https://github.com/valor-software/ng2-select/commit/201c6e2))



<a name="1.2.0"></a>
# [1.2.0](https://github.com/valor-software/ng2-select/compare/v1.1.2...v1.2.0) (2017-01-18)


### Bug Fixes

* add checking for not udefined document object ([#541](https://github.com/valor-software/ng2-select/issues/541)) ([7330f47](https://github.com/valor-software/ng2-select/commit/7330f47))
* **demo:** Removed duplicated attribute (data)="value" from multiple-demo.html ([#516](https://github.com/valor-software/ng2-select/issues/516)) ([7cbeb46](https://github.com/valor-software/ng2-select/commit/7cbeb46))
* **forms:** Validation compliant to ngModel ([#575](https://github.com/valor-software/ng2-select/issues/575)) ([aaadcbb](https://github.com/valor-software/ng2-select/commit/aaadcbb))
* **select:** compare the ID of a SelectItem instead of its text ([#358](https://github.com/valor-software/ng2-select/issues/358)) ([5c3a4e1](https://github.com/valor-software/ng2-select/commit/5c3a4e1))


### Features

* **select:** update to ng v2.3+ ([#590](https://github.com/valor-software/ng2-select/issues/590)) ([71536bc](https://github.com/valor-software/ng2-select/commit/71536bc))



<a name="1.1.2"></a>
## [1.1.2](https://github.com/valor-software/ng2-select/compare/v1.1.1...v1.1.2) (2016-11-11)


### Bug Fixes

* **close:** dropdown by missclick ([#515](https://github.com/valor-software/ng2-select/issues/515)) ([43b4c10](https://github.com/valor-software/ng2-select/commit/43b4c10))



<a name="1.1.1"></a>
## [1.1.1](https://github.com/valor-software/ng2-select/compare/v1.0.3...v1.1.1) (2016-10-18)


### Bug Fixes

* firefox issue ([#273](https://github.com/valor-software/ng2-select/issues/273)) ([f83764f](https://github.com/valor-software/ng2-select/commit/f83764f))
* **docs:** updated property name for active items ([#318](https://github.com/valor-software/ng2-select/issues/318)) ([d39def2](https://github.com/valor-software/ng2-select/commit/d39def2)), closes [#307](https://github.com/valor-software/ng2-select/issues/307)
* **filter:** possible dupes in filter ([#212](https://github.com/valor-software/ng2-select/issues/212)) ([7f4e9f6](https://github.com/valor-software/ng2-select/commit/7f4e9f6))
* **options:** fixed the disabled state ([#225](https://github.com/valor-software/ng2-select/issues/225)) ([388506f](https://github.com/valor-software/ng2-select/commit/388506f))
* **README:** Update docs with correct selector ng-select ([#148](https://github.com/valor-software/ng2-select/issues/148)) ([8aee01c](https://github.com/valor-software/ng2-select/commit/8aee01c))
* **select:** issue [#437](https://github.com/valor-software/ng2-select/issues/437) ([#454](https://github.com/valor-software/ng2-select/issues/454)) ([926e14d](https://github.com/valor-software/ng2-select/commit/926e14d))
* **select:** allow empty items ([2c090f3](https://github.com/valor-software/ng2-select/commit/2c090f3))


### Features

* **css:** removed most hardcoded css, instead rely on bootstrap css classes ([#214](https://github.com/valor-software/ng2-select/issues/214)) ([c178431](https://github.com/valor-software/ng2-select/commit/c178431))
* **input:** Added selectable inputfields instead of forcing id and text. ([#213](https://github.com/valor-software/ng2-select/issues/213)) ([cf7f110](https://github.com/valor-software/ng2-select/commit/cf7f110))
* programmatically select active items ([#223](https://github.com/valor-software/ng2-select/issues/223)) ([1ddbcd9](https://github.com/valor-software/ng2-select/commit/1ddbcd9))
* **package:** update to angular 2.0.0 ([#412](https://github.com/valor-software/ng2-select/issues/412)) ([10aeaba](https://github.com/valor-software/ng2-select/commit/10aeaba))
* **package:** updated to rc.4 and new forms ([#311](https://github.com/valor-software/ng2-select/issues/311)) ([5b992e9](https://github.com/valor-software/ng2-select/commit/5b992e9))



<a name="1.1.0"></a>
# [1.1.0](https://github.com/valor-software/ng2-select/compare/v1.0.3...v1.1.0) (2016-09-21)


### Bug Fixes

* firefox issue ([#273](https://github.com/valor-software/ng2-select/issues/273)) ([f83764f](https://github.com/valor-software/ng2-select/commit/f83764f))
* **docs:** updated property name for active items ([#318](https://github.com/valor-software/ng2-select/issues/318)) ([d39def2](https://github.com/valor-software/ng2-select/commit/d39def2)), closes [#307](https://github.com/valor-software/ng2-select/issues/307)
* **filter:** possible dupes in filter ([#212](https://github.com/valor-software/ng2-select/issues/212)) ([7f4e9f6](https://github.com/valor-software/ng2-select/commit/7f4e9f6))
* **options:** fixed the disabled state ([#225](https://github.com/valor-software/ng2-select/issues/225)) ([388506f](https://github.com/valor-software/ng2-select/commit/388506f))
* **select:** allow empty items ([2c090f3](https://github.com/valor-software/ng2-select/commit/2c090f3))


### Features

* **css:** removed most hardcoded css, instead rely on bootstrap css classes ([#214](https://github.com/valor-software/ng2-select/issues/214)) ([c178431](https://github.com/valor-software/ng2-select/commit/c178431))
* **input:** Added selectable inputfields instead of forcing id and text. ([#213](https://github.com/valor-software/ng2-select/issues/213)) ([cf7f110](https://github.com/valor-software/ng2-select/commit/cf7f110))
* programmatically select active items ([#223](https://github.com/valor-software/ng2-select/issues/223)) ([1ddbcd9](https://github.com/valor-software/ng2-select/commit/1ddbcd9))
* **package:** update to angular 2.0.0 ([#412](https://github.com/valor-software/ng2-select/issues/412)) ([10aeaba](https://github.com/valor-software/ng2-select/commit/10aeaba))
* **package:** updated to rc.4 and new forms ([#311](https://github.com/valor-software/ng2-select/issues/311)) ([5b992e9](https://github.com/valor-software/ng2-select/commit/5b992e9))



<a name="1.0.3"></a>
## 1.0.3 (2016-05-18)


### Bug Fixes

* ready for publish with ng2 0.42.0 ([8065308](https://github.com/valor-software/ng2-select/commit/8065308))
* **misprint:** replaced hightlight with highlight ([6266d98](https://github.com/valor-software/ng2-select/commit/6266d98))
* **multi select:** duplicates, select by Enter in multiple mode ([6fd0067](https://github.com/valor-software/ng2-select/commit/6fd0067))
* **package:** updated code style\fixed ng2 imports ([7fbe339](https://github.com/valor-software/ng2-select/commit/7fbe339))
* **Regex:** escape all characters to prevent exception ([3103352](https://github.com/valor-software/ng2-select/commit/3103352))
* **select:** clicking on the input now causes the item list to appear ([#154](https://github.com/valor-software/ng2-select/issues/154)) ([c46c0ff](https://github.com/valor-software/ng2-select/commit/c46c0ff))
* **select:** using string.match not regexp.test (fixes [#57](https://github.com/valor-software/ng2-select/issues/57), fixes [#54](https://github.com/valor-software/ng2-select/issues/54), fixes [#56](https://github.com/valor-software/ng2-select/issues/56)) ([5c96c2d](https://github.com/valor-software/ng2-select/commit/5c96c2d)), closes [#57](https://github.com/valor-software/ng2-select/issues/57) [#54](https://github.com/valor-software/ng2-select/issues/54) [#56](https://github.com/valor-software/ng2-select/issues/56)


### Features

* **build:** added codecov integration ([749ac97](https://github.com/valor-software/ng2-select/commit/749ac97))
* **build:** enabled tslinting ([4718b0f](https://github.com/valor-software/ng2-select/commit/4718b0f))
* **package:** update to angular 2 rc1 ([d59368d](https://github.com/valor-software/ng2-select/commit/d59368d))
* **package:** updated to angular2 beta.15 ([393674c](https://github.com/valor-software/ng2-select/commit/393674c)), closes [#106](https://github.com/valor-software/ng2-select/issues/106)



Loading