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

Missing methods #69

Open
franksandersen opened this issue Feb 15, 2023 · 1 comment
Open

Missing methods #69

franksandersen opened this issue Feb 15, 2023 · 1 comment

Comments

@franksandersen
Copy link

Hi, is it possible to use other methods like Expand, Collapse etc from Blazor Server ?
I only see the Render method on my JsonViewer instance

@VirajShah21
Copy link

Having the same issue. Here is a sample of the errors:

blazor.server.js:1 [2023-03-27T05:46:02.660Z] Error: Microsoft.JSInterop.JSException: document.querySelector(...).expandAll is not a function
TypeError: document.querySelector(...).expandAll is not a function
    at Object.JsonViewerExpandAll (http://localhost:5111/js/site.js:448:47)
    at http://localhost:5111/_framework/blazor.server.js:1:3506
    at new Promise (<anonymous>)
    at Ft.beginInvokeJSFromDotNet (http://localhost:5111/_framework/blazor.server.js:1:3480)
    at Ft._invokeClientMethod (http://localhost:5111/_framework/blazor.server.js:1:75066)
    at Ft._processIncomingData (http://localhost:5111/_framework/blazor.server.js:1:72690)
    at Ft.connection.onreceive (http://localhost:5111/_framework/blazor.server.js:1:67003)
    at i.onmessage (http://localhost:5111/_framework/blazor.server.js:1:51316)
   at Microsoft.JSInterop.JSRuntime.InvokeAsync[TValue](Int64 targetInstanceId, String identifier, Object[] args)

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

2 participants