It is possible to add the dictionary arguments in the linkout function? #3640
-
Hi JBrowse2 developers, I want to ask: It is possible to add the dictionary arguments in the linkout function? Here's I currently try do it as follows: After that, the Feature details turn to empty: I try the grammer of TypeScript is correct: This is the code of the plugin: Thank you so much! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
as far as I can tell, passing an object just like you do works for me. I would again check the javascript console to see if there is any bug, but it look ok to me. You mentioned the blank screen also yesterday, I am not sure what causes that but if you can identify make a small reproducible case, I can investigate. #3635 (reply in thread) that said, I will note, stylistically, the way you are looping through the object with a double nested loop looks odd to me. i recommend pasting raw source code and not a screenshot as it's hard to copy and paste otherwise, and (personal preference :)) recommend running through |
Beta Was this translation helpful? Give feedback.
-
Hi @cmdcolin, I really appreciate you so much!!!!!!! It works for me now! |
Beta Was this translation helpful? Give feedback.
I also tried making a better error handler in this PR so that in future versions you won't get a blank screen on error but instead get an error message https://github.com/GMOD/jbrowse-components/pull/3642/files