Learn about the functionality exposed by components
Components are UI building blocks that allow you to create customizable checkout flows that collect information from and present information to customers.
The individual component object, which exposes mount() and, in some cases, done(), allows you to collect information from and present information to customers.
mount(elementId)
The mount() function, which requires that you pass the id of an HTML element, attaches that component to your DOM.