diff --git a/demo/demo/templates/demo_one.html b/demo/demo/templates/demo_one.html index b91b4fa8..568daf0e 100644 --- a/demo/demo/templates/demo_one.html +++ b/demo/demo/templates/demo_one.html @@ -10,16 +10,25 @@
+ The plotly_class tag is also used to wrap the application in css class names based on the + application (django-plotly-dash), the + type of the embedding (iframe), and the slugified version of the app name (simpleexample). +
{% load plotly_dash %}
-{% plotly_app name="SimpleExample" %}
+<div class="{% plotly_class name="SimpleExample"%}"> +
{% plotly_app name="SimpleExample" %}
+<\div>