You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/fast-element/DESIGN.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -50,6 +50,10 @@ For deep dives into specific areas, see the linked detailed documents.
50
50
51
51
The library's kernel (the `FAST` global, the `Updates` queue, and the `Observable` system) is stored on `globalThis.FAST` and can be shared across multiple versions of the library loaded on the same page.
52
52
53
+
The v3 runtime assumes native `globalThis`. `src/polyfills.ts` only backfills
54
+
`requestIdleCallback` / `cancelIdleCallback`, so applications targeting older
55
+
engines must install their own `globalThis` polyfill before FAST loads.
Copy file name to clipboardExpand all lines: packages/fast-element/README.md
+8-1Lines changed: 8 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -53,6 +53,14 @@ For simplicity, examples throughout the documentation will assume the library ha
53
53
Looking for a quick guide on building components? Check out [our Cheat Sheet](../resources/cheat-sheet.md#building-components).
54
54
:::
55
55
56
+
## Browser Requirements
57
+
58
+
FAST Element v3 assumes a modern runtime with native `globalThis`. The package
59
+
still installs its `requestIdleCallback` / `cancelIdleCallback` fallback
60
+
internally, but it no longer patches `globalThis` for older engines. If you
61
+
need to support an environment without `globalThis`, load that polyfill before
62
+
importing `@microsoft/fast-element`.
63
+
56
64
## Export Sizes
57
65
58
66
Bundle sizes for each tree-shakeable export are tracked in [`SIZES.md`](./SIZES.md) and regenerated on every build. See the [Export Sizes](https://www.fast.design/docs/3.x/resources/export-sizes/) documentation page for the latest numbers.
Each extension receives the full `FASTElementDefinition`, which includes the resolved element name, type, template, styles, and attribute metadata. Extensions run before `customElements.define()`, so any setup they perform is available when existing DOM elements are upgraded.
Copy file name to clipboardExpand all lines: sites/website/src/docs/3.x/resources/browser-support.md
+13-9Lines changed: 13 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,21 +8,25 @@ eleventyNavigation:
8
8
title: Browser Support
9
9
navigationOptions:
10
10
activeKey: browser-support3x
11
-
description: View the list of browsers that have native support for the Web Components features used by fast-element.
11
+
description: View the list of browsers that have native support for the Web Components features and native globalThis required by fast-element v3.
12
12
keywords:
13
13
- browser support
14
14
---
15
15
16
-
The following browsers have native support for the Web Components features used by `@microsoft/fast-element`:
16
+
The following browsers have native support for the Web Components features used by `@microsoft/fast-element`, including the native `globalThis` required by v3:
17
17
18
18
* Microsoft Edge 79+
19
-
* Mozilla Firefox 63+
20
-
* Google Chrome 67+
21
-
* Apple Safari 10.1+
22
-
* Opera 41+
23
-
* iOS Safari 10.3+
19
+
* Mozilla Firefox 65+
20
+
* Google Chrome 71+
21
+
* Apple Safari 12.1+
22
+
* Opera 58+
23
+
* iOS Safari 12.2+
24
24
* Android Browser 81+
25
-
* Opera Mobile 46+
25
+
* Opera Mobile 54+
26
26
* Chrome for Android 81+
27
27
* Firefox for Android 68+
28
-
* Samsung Internet 6.2+x
28
+
* Samsung Internet 10.0+
29
+
30
+
FAST Element v3 no longer polyfills `globalThis` for older engines. If you need
31
+
to support an environment below these minimums, load a `globalThis` polyfill
0 commit comments