From 597589a21081862ad1a4bd2d52ba96f2ea4be465 Mon Sep 17 00:00:00 2001 From: Alexey Stukalov Date: Mon, 1 Feb 2021 20:52:17 +0100 Subject: [PATCH 1/2] changelog: add #147 --- CHANGELOG.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f2b2337..7755033 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## [unreleased] - YYYY-MM-DD +### Changed +- Enhanced integration with Angular CSS classes handling (See https://github.com/plotly/angular-plotly.js/pull/147) +- Allow user content inside plotly plot *div* element (See https://github.com/plotly/angular-plotly.js/pull/147) ## [3.0.0] - 2020-08-27 ### Changed @@ -12,4 +16,4 @@ ### Changed - Upgraded to angular 9.0 (See https://github.com/plotly/angular-plotly.js/issues/101) - Adding `@angular/core^9.0.0` as a peer dependency -- Adding `treemapclick` and `sunburstclick` events (See https://github.com/plotly/angular-plotly.js/issues/105) \ No newline at end of file +- Adding `treemapclick` and `sunburstclick` events (See https://github.com/plotly/angular-plotly.js/issues/105) From 82a78a7c8334e9f59aff24ffe5972f8c85c18af7 Mon Sep 17 00:00:00 2001 From: Alexey Stukalov Date: Mon, 1 Feb 2021 21:19:38 +0100 Subject: [PATCH 2/2] README.md: document #147 --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index 7a4e1ae..6122dad 100644 --- a/README.md +++ b/README.md @@ -171,6 +171,16 @@ Event handlers for specific [`plotly.js` events](https://plot.ly/javascript/plot | `(treemapclick)` | `Function` | `plotly_treemapclick` | | | `(sunburstclick)` | `Function` | `plotly_sunburstclick` | | +### Customizing \ component + +*\* component supports injection of user-defined contents: +```html + + user-defined Angular template + +``` +will put the user template into the root *\* of the resulting *plotly.js* plot, +in front of any plotly-generated elements. This could be useful for implementing plot overlays. ## Customizing the `plotly.js` bundle