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

Example how to use #70

Open
dovletmamenov opened this issue Apr 18, 2023 · 0 comments
Open

Example how to use #70

dovletmamenov opened this issue Apr 18, 2023 · 0 comments

Comments

@dovletmamenov
Copy link

Is it possible to add example blazor app to show how to use your component?

I tried to do steps from readme file but this part does not allow me to compile the code:

Create Backing Element Reference In Example.razor.cs File:

using Texnomic.Blazor.JsonViewer;

protected JsonViewer JsonViewerInstance { get; set; }

protected async ValueTask Example(string Json)
{
await JsonViewerInstance.Render(Json);
}

I get error saying Example method can not exist in the class with the same name

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

No branches or pull requests

1 participant