Skip to main content

bp-sdk-custom-event-container

Custom element hooks

NameDescription
bp-sdk-external-custom-event-containerdisable html

Classes

NameDescription
bp-sdk-custom-event-container__containerRoot div element

Properties

PropertyAttributeDescriptionTypeDefault
activeQuestionSet--IApplicationFormQuestionSetundefined
answerResources--{ [answerId: string]: LoadingStates; }{}
applicationForm--IApplicationFormundefined
isFormLoadedis-form-loadedbooleanundefined
isUserAuthenticatedis-user-authenticatedbooleanundefined
questionSets--IApplicationFormQuestionSet[][]
quotes--IQuotesState[]undefined

Events

EventDescriptionType
activeQuestionSetChangeEmits the entire question set when the active question set changesCustomEvent<IApplicationFormQuestionSet>
answerStateChangedEmits an answerId when it's loading state changesCustomEvent<{ answerId: string; loadingState: LoadingStates; }>
formLoadedEmitted when an application form is loadedCustomEvent<IApplicationForm>
questionSetAddedEmits a question set when it has been added to the application formCustomEvent<IApplicationFormQuestionSet>
questionSetCompletionChangedEmits a question set when it's completion state has changedCustomEvent<IApplicationFormQuestionSet>
quoteFailureEmits a quote when it has failedCustomEvent<IQuotesState>
quotesChangedEmits all quotes when any quotes changeCustomEvent<IQuotesState[]>
quoteSuccessEmits a quote when it is successfulCustomEvent<IQuotesState>
userAuthenticationChangedEmits a boolean indicating whether the user is authenticated or notCustomEvent<boolean>

Dependencies

Used by

Graph

graph TD; bp-sdk-root --> bp-sdk-custom-event-container style bp-sdk-custom-event-container fill:#f9f,stroke:#333,stroke-width:4px

Built with StencilJS