View source: R/wa_relative_time.R
| wa_relative_time | R Documentation |
wa-relative-time componentGenerated wrapper for the Web Awesome wa-relative-time component.
Generated from Web Awesome metadata.
wa_relative_time(
...,
id = NULL,
class = NULL,
style = NULL,
date = NULL,
dir = NULL,
format = NULL,
lang = NULL,
numeric = NULL,
sync = NULL
)
... |
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. |
date |
Default: |
dir |
String. Optional Web Awesome attribute. |
format |
Enumerated string. Allowed values: |
lang |
String. Optional Web Awesome attribute. |
numeric |
Enumerated string. Allowed values: |
sync |
Boolean. Default: |
An HTML tag for the component.
None.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.