Core API methods are available on the global `CartJS` object.
They can be called from anywhere - an event handler, your startup code, even in an `onclick=""` attribute if you're feeling old school.

See the [Core API][] section in the Guide for more.

[Core API]: /pages/guide#core-api
