-
Notifications
You must be signed in to change notification settings - Fork 62
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
sending messages to and from dock panel shadow root #4201
Comments
There are style set / get protected methods down in the base class: https://github.com/hpcc-systems/Visualization/blob/trunk/components/core/src/element.ts#L34-L40 might be a matter of exposing a: |
Ya I can style the actual Within the browser console I can get the shadowRoot but once I try clicking via js or styling off that my Everything else works great just these few small things, but I think doing what you recommend above should solve it for me. I was also worried I wouldn't be able to access other elements created in shiny from outside the I'm going to fork and hard code a theme or do the above, I can probably put something on all the tabs to send a message back to shiny, that way I can probably simulate a click.
|
I have no experience with Shiny, but do have experience in embedding the core widget (which this web control wraps) in various environments (like React), not sure if that helps you, but it is a lot easier tweak to do what you want. |
I've been working on creating an IDE and stumbled across this within Lumino issues, very cool, but I'm not very familiar with shadow roots.
Probably not needed, but for some more details this IDE is to the R programming language now that it has somewhat recently been compiled to WASM. I'm pretty far along already but feel like this package has some components / features I'm going to need in the future and even now.
It's easy enough for me to create an R Shiny app with hpcc-dockpanel
However what I'd like to be able to do is style the dockpanel (backgrounds, headers, tabs, handles) and programmatically click within the dockpanel (tabs). Is there some API to do that? I think I should probably just be reading up more about shadow root or just forking this repo at least for styling.
The text was updated successfully, but these errors were encountered: