Skip to content

@checkout-kit/runtime-browser / applyPlatform

Variable: applyPlatform ​

ts
const applyPlatform: (element, platform?) => Platform;

Stamps the platform on the checkout root. <CheckoutRoot> does this for you.

Parameters ​

ParameterType
elementHTMLElement
platform?Platform

Returns ​

Platform

Apache-2.0 · Headless engine, provider adapters and runnable examples.