The LI.FI Widget uses modern JavaScript APIs that may not be supported in older environments. Partners integrating the Widget may need to add polyfills if they need to support older browsers.Documentation Index
Fetch the complete documentation index at: https://docs.li.fi/llms.txt
Use this file to discover all available pages before exploring further.
Polyfills are only needed if you must support an environment where an API below is marked ❌. The polyfill packages/imports in this page are suggestions—you can use any equivalent polyfill solution as long as it provides the same API behavior.
Browser & API Support
| API | Polyfill | iOS 15.0-15.3 | iOS 15.4+ | iOS 16.0+ | Chrome 92+ | Firefox 92+ | Safari 15.4+ | Safari 16.0+ | Samsung 16.0+ |
|---|---|---|---|---|---|---|---|---|---|
structuredClone() | core-js/actual/structured-clone | ❌ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
Array.at() | core-js/actual/array/at | ❌ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
Object.hasOwn() | core-js/actual/object/has-own | ❌ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
Array.findLast() | core-js/actual/array/find-last | ❌ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
Array.findLastIndex() | core-js/actual/array/find-last-index | ❌ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
Array.toSpliced() | core-js/actual/array/to-spliced | ❌ | ❌ | ✅ | ✅ | ✅ | ❌ | ✅ | ✅ |
Array.toSorted() | core-js/actual/array/to-sorted | ❌ | ❌ | ✅ | ✅ | ✅ | ❌ | ✅ | ✅ |
Array.with() | core-js/actual/array/with | ❌ | ❌ | ✅ | ✅ | ✅ | ❌ | ✅ | ✅ |

