Skip to content

Commit 82a78a7

Browse files
authored
README.md: document plotly#147
1 parent 597589a commit 82a78a7

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

README.md

+10
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,16 @@ Event handlers for specific [`plotly.js` events](https://plot.ly/javascript/plot
171171
| `(treemapclick)` | `Function` | `plotly_treemapclick` | |
172172
| `(sunburstclick)` | `Function` | `plotly_sunburstclick` | |
173173

174+
### Customizing \<plotly-plot\> component
175+
176+
*\<plotly-plot\>* component supports injection of user-defined contents:
177+
```html
178+
<plotly-plot>
179+
user-defined Angular template
180+
</plotly-plot>
181+
```
182+
will put the user template into the root *\<div\>* of the resulting *plotly.js* plot,
183+
in front of any plotly-generated elements. This could be useful for implementing plot overlays.
174184

175185
## Customizing the `plotly.js` bundle
176186

0 commit comments

Comments
 (0)