Skip to content
This repository was archived by the owner on Jun 4, 2024. It is now read-only.

Commit 46a624c

Browse files
author
Ryan Patrick Kyle
committed
add htmlNoscript comment
1 parent 5555dff commit 46a624c

File tree

1 file changed

+3
-18
lines changed

1 file changed

+3
-18
lines changed

dash-info.yaml

Lines changed: 3 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1530,24 +1530,9 @@ r_examples:
15301530
- name: htmlNoscript
15311531
dontrun: TRUE
15321532
code: |
1533-
library(dash)
1534-
library(dashHtmlComponents)
1535-
library(dashCoreComponents)
1536-
1537-
app <- Dash$new()
1538-
1539-
app$layout(
1540-
htmlDiv(list(
1541-
htmlH2("Warning: A browser without support for JavaScript
1542-
will show the text inside the noscript element.
1543-
Since Dash uses JavaScript internally,
1544-
using this option might cause incompatibility issues."),
1545-
htmlNoscript("A browser without support for JavaScript
1546-
will show the text inside the noscript element.")
1547-
))
1548-
)
1549-
1550-
app$run_server()
1533+
# This component may be used in the index template to define
1534+
# alternate content in browsers which have disabled scripts,
1535+
# or in which scripts are not supported.
15511536
- name: htmlObjectEl
15521537
dontrun: TRUE
15531538
code: |

0 commit comments

Comments
 (0)