Closed
Description
Clear and concise description of the problem
When using the useToast
composable, there is a bit of a naming conflict between the entity managing the toasts and the actual toast. So when I'm writing const toast = useToast()
, it looks like a toast but it is actually the toast controller. Also, the naming is inconsistent with useModalController
.
Suggested solution
I think useToastController
is more consistent because useToast doesn't actually return a toast but a controller that manages the toasts, similar to useModalController
.
Validations
- Follow our Code of Conduct
- Read the Contributing Guide.
- Check that there isn't already an issue that request the same feature to avoid creating a duplicate.