Skip to main content

LMLoaderContextProvider

Introduction

The LMLoaderContextProvider provides the data and functions related to loader components and snackbar. You can use this to display on screen information in the app.

PropertyTypeDescriptionOptional
loaderbooleanIndicates whether the loader is active.
setLoader(val: boolean) => void \| nullFunction to update the loader state.✔️
openSnackbar(message: string) => void \| nullFunction to show a snackbar message.✔️

Reference

For reference checkout this file