📱
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
  • Inner Text
  • Attributes
  1. Components

<date>

About The Date Tag

<widget>
  <date>Thu Dec 23 2021 17:54:40 GMT-0500 (EST)</date>
</widget>

The <date> element defines a widget date element.

Inner Text

The <date> element can have any character as the inner text excluding < and > and trimming white space. < must be converted to the &lt; entity. > must be converted to the &gt; entity. & can optionally be converted to the &amp; entity. The inner text should be a date defined by the Date() object. The inner text is the date that will be displayed.

Attributes

font - font

Defines the font family and size of the date.

lineLimit - posInt

Defines the maximum line limit.

minimumScaleFactor - decimal

Defines the minimum scale factor.

shadowColor - colour

Defines the shadow color.

shadowOffset - point

Defines the shadow offset.

shadowRadius - posInt

Defines the shadow radius.

textColor - colour

Defines the date color.

textOpacity - decimal

Defines the opacity of the date.

url - url

Defines the URL of the date.

alignText - alignText

Defines the horizontal alignment of the date.

applyStyle - applyStyle

Defines the style of the date.

Previous<text>Next<style>

Last updated 14 days ago