Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds Loading component #21

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

Zettersten
Copy link

Similar to conditionals, a "loading" component simplifies the process of achieving three common states of loading by eliminating the need for verbose C# markup and syntax. These states are:

Is the data not yet available? Pending
Is the data currently available? Ready
Is the data available but an empty collection? Empty

public partial class Loading : ComponentBase
{
[Parameter]
public object Evaluation { get; set; }

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this property would rather be named Source. From a language perspective, then you would say you are loading a source.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd agree with that. Sadly, this project is dead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants