Skip to contents

Generated wrapper for the Web Awesome wa-include component. Generated from Web Awesome metadata.

Usage

wa_include(
  ...,
  id = NULL,
  class = NULL,
  style = NULL,
  allow_scripts = NULL,
  dir = NULL,
  lang = NULL,
  mode = NULL,
  src = NULL
)

Arguments

...

Child content for the component's default slot.

id

Optional DOM id attribute for HTML, CSS, and JS targeting.

class

Optional CSS class string.

style

Optional inline CSS style string.

allow_scripts

Boolean. Default: FALSE. Allows included scripts to be executed. Be sure you trust the content you are including as it will be executed as code and can result in XSS attacks.

dir

String. Optional Web Awesome attribute.

lang

String. Optional Web Awesome attribute.

mode

Enumerated string. Allowed values: cors, no-cors, same-origin. Default: cors. The fetch mode to use.

src

String. The location of the HTML file to include. Be sure you trust the content you are including as it will be executed as code and can result in XSS attacks.

Value

An HTML tag for the component.

Shiny Bindings

None.