Skip to content

Commit d44c8ff

Browse files
alystandrefarzat
authored andcommittedFeb 1, 2021
README.md: document #147
1 parent 9b1d93c commit d44c8ff

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)
Please sign in to comment.