Clock sample
This page demonstrates a single state / single loop application architecture using ef.js.
Query parameters
| Name | Available values | Description |
|---|---|---|
feature |
Feature flag name, see below | Feature flag to activate. Can be multiple. |
locale |
Valid locale string (see Intl.Locale for more) |
Locale to use for formatting datetime for screen readers. |
fg |
Predefined color, see below | Foreground color. |
bg |
Predefined color, see below | Background color. |
fg and bg are only available on a browser that supports oklch() CSS function (added in CSS Color Module Level 4).
Feature flags
| Name | Description |
|---|---|
dropshadow |
Render shadows on texts. |
show-visuallyhidden |
Render visually hidden texts (for screen reader) on screeen. |
List of predefined colors
reddark-redbluedark-bluegreendark-greenyellowdark-yellowblackmostly-blackwhitemostly-white