Skip to contents

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

Usage

wa_format_bytes(
  ...,
  id = NULL,
  class = NULL,
  style = NULL,
  value = NULL,
  dir = NULL,
  display = NULL,
  lang = NULL,
  unit = 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.

value

Number. Default: 0. The number to format in bytes.

dir

String. Optional Web Awesome attribute.

display

Enumerated string. Allowed values: long, narrow, short. Default: short. Determines how to display the result, e.g. "100 bytes", "100 b", or "100b".

lang

String. Optional Web Awesome attribute.

unit

Enumerated string. Allowed values: bit, byte. Default: byte. The type of unit to display.

Value

An HTML tag for the component.

Shiny Bindings

None.