Skip to content

Commit

Permalink
Merge pull request #7 from Anthony-AGTN/add_custom_color_button
Browse files Browse the repository at this point in the history
bump 2.1.0
  • Loading branch information
Anthony-AGTN authored Apr 18, 2024
2 parents 93056c8 + 8a16db4 commit 51d93a7
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 1 deletion.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
## [2.1.0](https://github.com/pmsipilot/angular-omnibox/compare/v2.0.1...v2.1.0) (2024-04-18)


### Features

* Add custom color config for the search and history button ([b3fb792](https://github.com/pmsipilot/angular-omnibox/commit/b3fb792))



## [2.0.1](https://github.com/pmsipilot/angular-omnibox/compare/v2.0.0...v2.0.1) (2019-02-07)


Expand Down
6 changes: 6 additions & 0 deletions example/example.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,11 @@ class ExampleOmniboxController {
}
]
};

this.colorOmnibox = {
historyButton: '#0f655e',
searchButton: '#0f655e'
};
}

getPokemon() {
Expand All @@ -76,6 +81,7 @@ const ExampleOmniboxComponent = {
ng-if="$ctrl.configOmnibox !== null"
config="$ctrl.configOmnibox"
order="$ctrl.orderOmnibox"
color="$ctrl.colorOmnibox"
default-token="'title'"
init-tokens="$ctrl.omniboxResult"
on-valid="$ctrl.omniboxCallback(result)">
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "angular-omnibox",
"version": "2.0.1",
"version": "2.1.0",
"description": "omnibox for angular",
"main": "src/js/module.js",
"repository": {
Expand Down

0 comments on commit 51d93a7

Please sign in to comment.