Skip to content

[App Bridge]: Missing shopify.ready implementation #4

@Kashuab

Description

@Kashuab

Not sure why I can't find documentation on this. But there's a Promise you can await to make calls when app bridge is ready.

For example:

await shopify.ready;

shopify.modal.show('example-modal')

Helpful for showing things like onboarding modals when the page loads. If you call shopify.modal.show too quickly then it doesn't work.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions