Skip to main content

CaAccountPanel

The account panel. Includes content panel frames 'login', 'create', 'reset' and 'change'

SASS-path: ./styles/components/molecules/ca-account-panel.scss

Methods

MethodDescriptionParameters
setFrameSet frame for content panelContent panel frame (String)
createAccountHandlerDecides what action the create account button should have (different in different frames)-
showFeedbackShow feedbackFeedback (Object)
closePanelAfterDelayCloses panel after a delay of 1000 ms to let the user see the feedback-
loginLog in action-
createAccountCreate account action-
resetPasswordReset password action-
changePasswordReset password action-
checkValidUsed to hide feedback if field becomes valid after error-
enterHandlerDecides what action Enter key should trigger (different for different frames)-
resetFieldsReset all fields-