FireSnippetsMethods Overview | Fire Snippets Docs
Methods Overview
Get an overview of the methods provided by the FireSnippets class.
Important Methods
The FireSnippets class provides the following methods:
- login(snippetId): Handles user login.
- signUp(snippetId): Handles user sign-up.
- add(snippetId, variables): Adds a document to Firestore.
- payment(snippetId, variables): Processes payments via Stripe.
- staticDisplay(snippetId, variables, onUpdate): Displays static data with optional real-time updates.
- dynamicDisplay(snippetId, variables, onUpdate): Displays dynamic data using templates with optional real-time updates.
Was this helpful?
Next