add_meta: Add <meta> tags to a Dash app

View source: R/wrappers.R

add_metaR Documentation

Add <meta> tags to a Dash app

Description

Add <meta> tags to a Dash app

Usage

add_meta(app, meta)

Arguments

app

A dash application created with dash_app().

meta

A single meta tag or a list of meta tags. Each meta tag is a named list with two elements representing a meta tag. See examples below.

Examples

app <- dash_app()

# Add a single meta tag
app %>% add_meta(list(name = "description", content = "My App"))

# Add multiple meta tags
app %>% add_meta(list(
  list(name = "keywords", content = "dash, analysis, graphs"),
  list(name = "viewport", content = "width=device-width, initial-scale=1.0")
))

dash documentation built on June 23, 2022, 9:11 a.m.