📱
HTML Widget
  • HTML Widget
  • Getting Started
    • Regular Use
    • Module Use
  • About
    • The Function
    • Types
  • Components
    • <widget>
    • <stack>
    • <spacer>
    • <img>
    • <text>
    • <date>
    • <style>
    • <!-- Comment -->
  • Add-ons
    • Add-ons
    • <symbol>
    • <hr>
    • <progress>
    • <blockquote>
  • Template
    • Templates
    • Mapping
    • Render
  • Examples
    • Hello, World!
    • Reddit Widget
  • Closing Remarks
    • Bug Fixes and Feedback
    • Support
Powered by GitBook
On this page
  • InnerHTML
  • Attributes
  1. Components

<widget>

About The Widget Tag

<widget>
</widget>

All tags must be nestled in the <widget> element. There must be a parent <widget> element. The <widget> element defines the widget.

InnerHTML

The innerHTML of the <widget> element will be compiled within the stack.

Attributes

background - colour, gradient or image

Defines the background.

padding - padding

Defines the widget padding.

refreshAfterDate - posInt

Defines the minimum refresh time for the widget in minutes.

spacing - posInt

Defines the spacing between widget elements.

url - url

Defines the widget url.

addAccessoryWidgetBackground - bool

Adds the accessory widget background to accessory widgets.

PreviousTypesNext<stack>

Last updated 2 months ago