You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
where ``asset_path`` is the path to a file inside ``assets_folder``.
204
204
Default ``'assets'`.
205
-
205
+
206
206
- `assets_ignore::String` - [EXPERIMENTAL] A regex, as a string to pass to ``Regex``, for
207
207
assets to omit from immediate loading. Ignored files will still be
208
208
served if specifically requested. You cannot use this to prevent access
209
-
to sensitive files.
209
+
to sensitive files.
210
210
:type assets_ignore: string
211
211
212
212
- `assets_external_path::String` - [EXPERIMENTAL] an absolute URL from which to load assets.
213
213
Use with ``serve_locally=false``. Dash can still find js and css to
214
214
automatically load if you also keep local copies in your assets
215
215
folder that Dash can index, but external serving can improve
216
-
performance and reduce load on the Dash server.
217
-
env: `DASH_ASSETS_EXTERNAL_PATH`
216
+
performance and reduce load on the Dash server.
217
+
env: `DASH_ASSETS_EXTERNAL_PATH`
218
218
219
219
- `include_assets_files::Bool` - [EXPERIMENTAL] Default ``true``, set to ``false`` to prevent
220
220
immediate loading of any assets. Assets will still be served if
221
221
specifically requested. You cannot use this to prevent access
222
-
to sensitive files.
223
-
env: `DASH_INCLUDE_ASSETS_FILES`
222
+
to sensitive files.
223
+
env: `DASH_INCLUDE_ASSETS_FILES`
224
224
225
225
- `url_base_pathname::String`: A local URL prefix to use app-wide.
226
226
Default ``nothing``. Both `requests_pathname_prefix` and
227
227
`routes_pathname_prefix` default to `url_base_pathname`.
228
-
env: `DASH_URL_BASE_PATHNAME`
228
+
env: `DASH_URL_BASE_PATHNAME`
229
229
230
230
- `requests_pathname_prefix::String`: A local URL prefix for file requests.
231
231
Defaults to `url_base_pathname`, and must end with
232
232
`routes_pathname_prefix`
233
-
env: `DASH_REQUESTS_PATHNAME_PREFIX`
233
+
env: `DASH_REQUESTS_PATHNAME_PREFIX`
234
234
235
235
- `routes_pathname_prefix::String`: A local URL prefix for JSON requests.
236
236
Defaults to ``url_base_pathname``, and must start and end
@@ -240,77 +240,77 @@ If a parameter can be set by an environment variable, that is listed as:
240
240
- `serve_locally`: [EXPERIMENTAL] If `true` (default), assets and dependencies (Dash and Component js and css) will be served from local URLs. If `false` Dash will use CDN links where available.
241
241
(Dash and Component js and css) will be served from local URLs.
242
242
If ``false`` we will use CDN links where available.
243
-
243
+
244
244
- `meta_tags::Vector{Dict{String, String}}`: html <meta> tags to be added to the index page.
245
245
Each dict should have the attributes and values for one tag, eg:
246
246
``Dict("name"=>"description", "content" => "My App")``
247
-
247
+
248
248
- `index_string::String`: Override the standard Dash index page.
249
249
Must contain the correct insertion markers to interpolate various
250
250
content into it depending on the app config and components used.
251
251
See https://dash.plotly.com/external-resources for details.
252
-
252
+
253
253
- `external_scripts::Vector`: Additional JS files to load with the page.
254
254
Each entry can be a String (the URL) or a Dict{String, String} with ``src`` (the URL)
255
255
and optionally other ``<script>`` tag attributes such as ``integrity``
256
-
and ``crossorigin``.
256
+
and ``crossorigin``.
257
257
258
258
- `external_stylesheets::Vector`: Additional CSS files to load with the page.
259
259
Each entry can be a String (the URL) or a Dict{String, String} with ``href`` (the URL)
260
260
and optionally other ``<link>`` tag attributes such as ``rel``,
261
-
``integrity`` and ``crossorigin``.
261
+
``integrity`` and ``crossorigin``.
262
262
263
263
- `suppress_callback_exceptions::Bool`: Default ``false``: check callbacks to
264
264
ensure referenced IDs exist and props are valid. Set to ``true``
265
265
if your layout is dynamic, to bypass these checks.
266
266
env: `DASH_SUPPRESS_CALLBACK_EXCEPTIONS`
267
-
267
+
268
268
- `show_undo_redo::Bool`: Default ``false``, set to ``true`` to enable undo
269
269
and redo buttons for stepping through the history of the app state.
270
270
271
-
- `compress::Bool`: Default ``true``, controls whether gzip is used to compress
271
+
- `compress::Bool`: Default ``true``, controls whether gzip is used to compress
272
272
files and data served by HTTP.jl when supported by the client. Set to
0 commit comments