DOM Package (Front-end API)

Article author
Memberstack Team
  • Updated

The DOM is a wrapper around the @memberstack/client package. It makes it easy to add Memberstack to any app that runs in a browser environment.

View the DOM API Documentation →

------------------

This is documentation for Memberstack's DOM package, which allows developers to add Memberstack to any browser environment. It also enables them to interact with Memberstack's login, signup, and forgot password modals, using the openModal and hideModal methods. The documentation covers various other functions such as authentication, member management, events, and checkout and billing. To use the package, developers can install it via npm or yarn, and initialize the Memberstack instance by providing the initialization object.

-------------------

Keywords: DOM package, Memberstack, React, sessionDurationDays, openModal, hideModal, login, signup, forgot password, getPlan, getAuthProviders, signupMemberEmailPassword, signupMemberAuthProvider, loginMemberEmailPassword, loginMemberAuthProvider, sendMemberResetPasswordEmail, resetMemberPassword, logout, onAuthChange, purchasePlansWithCheckout, launchStripeCustomerPortal, getCurrentMember, updateMember, getMemberJSON, updateMemberJSON, member.created, member.updated, member.deleted, member.plan.created, webhook, verifySignature.

 

Was this article helpful?

Comments

0 comments

Please sign in to leave a comment.