Skip to content

Commit

Permalink
Update TOCs
Browse files Browse the repository at this point in the history
  • Loading branch information
timomeh committed Mar 4, 2024
1 parent 725d031 commit 73b144c
Showing 1 changed file with 29 additions and 30 deletions.
59 changes: 29 additions & 30 deletions docs/porting-embed.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,37 +48,36 @@ embed.on('completed', ({ porting }) => {
})
```

## Usage
- [Minimal example](#minimal-example)
- [Usage](#usage)
- [Show a loading spinner while the embed is initializing](#show-a-loading-spinner-while-the-embed-is-initializing)
- [Show UI depending on the current step](#show-ui-depending-on-the-current-step)
- [Use the included styling](#use-the-included-styling)
- [CSS customization](#css-customization)
- [Continue after all fields were filled out](#continue-after-all-fields-were-filled-out)
- [Show a loading state while the form is submitted](#show-a-loading-state-while-the-form-is-submitted)
- [Reacting to validation changes](#reacting-to-validation-changes)
- [Unsubscribe from event listeners](#unsubscribe-from-event-listeners)
- [Using a different form id](#using-a-different-form-id)
- [Updating options](#updating-options)
- [Unmount the embed](#unmount-the-embed)
- [Reference](#reference)
- [Initializing the Porting Embed](#initializing-the-porting-embed)
- [`connectSession`](#connectsession)
- [`project`](#project)
- [`options`](#options)
- [Methods](#methods)
- [`embed.mount(element)`](#embedmountelement)
- [`embed.update(options)`](#embedupdateoptions)
- [`embed.unmount()`](#embedunmount)
- [`embed.on(event, fn)`](#embedonevent-fn)
- [`embed.off(event, fn)`](#embedoffevent-fn)
- [`embed.currentStep(): Step`](#embedcurrentstep-step)
- [Values](#values)
- [Step](#step)
- [Field Names](#field-names)

- [Porting Embed](#porting-embed)
- [Minimal example](#minimal-example)
- [Usage](#usage)
- [Show a loading spinner while the embed is initializing](#show-a-loading-spinner-while-the-embed-is-initializing)
- [Show UI depending on the current step](#show-ui-depending-on-the-current-step)
- [Use the included styling](#use-the-included-styling)
- [CSS customization](#css-customization)
- [Continue after all fields were filled out](#continue-after-all-fields-were-filled-out)
- [Show a loading state while the form is submitted](#show-a-loading-state-while-the-form-is-submitted)
- [Reacting to validation changes](#reacting-to-validation-changes)
- [Unsubscribe from event listeners](#unsubscribe-from-event-listeners)
- [Using a different form id](#using-a-different-form-id)
- [Updating options](#updating-options)
- [Unmount the embed](#unmount-the-embed)
- [Reference](#reference)
- [Initializing the Porting Embed](#initializing-the-porting-embed)
- [`connectSession`](#connectsession)
- [`project`](#project)
- [`options`](#options)
- [Methods](#methods)
- [`embed.mount(element)`](#embedmountelement)
- [`embed.update(options)`](#embedupdateoptions)
- [`embed.unmount()`](#embedunmount)
- [`embed.on(event, fn)`](#embedonevent-fn)
- [`embed.off(event, fn)`](#embedoffevent-fn)
- [`embed.currentStep(): Step`](#embedcurrentstep-step)
- [Values](#values)
- [Step](#step)
- [Field Names](#field-names)
## Usage

### Show a loading spinner while the embed is initializing

Expand Down

0 comments on commit 73b144c

Please sign in to comment.