VaAlert event va-component-did-load
does not have a test and implementation is not explained in Storybook
#3866
Labels
va-component-did-load
does not have a test and implementation is not explained in Storybook
#3866
Bug Report
While attempting to use the event
va-component-did-load
found that it didnt appear to be working, also found while looking at the code that there were no tests around the event.What happened
The event
va-component-did-load
on vaAlert appear to not properly work and there are no tests or an explanation of how to implement it in Storybook.What I expected to happen
The event
va-component-did-load
on vaAlert should emit and it is not.Also there are no tests or an example of how to use it in code.
Reproducing
In code added this
and it did not work. After messing around with the event name I tried this an it appears to work but it is not intuitive.
Urgency
How urgent is this request? Please select the appropriate option below and/or provide details
Details
We would like the ability to use
onVaComponentDidLoad
instead of usingonVa-component-did-load
. We would also like there to be tests around this event and for storybook to better explain how implementation works for this event as it.The text was updated successfully, but these errors were encountered: