TypeError: options is undefined #14675
Answered
by
msujew
xinzhang20241216
asked this question in
General
-
I follow the link to write the below code, I got the error "TypeError: options is undefined", where is wrong?
|
Beta Was this translation helpful? Give feedback.
Answered by
msujew
Dec 30, 2024
Replies: 1 comment 3 replies
-
Hey @xinzhang20241216, You need to supply the super class with an options argument in the constructor. See this guide. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You could run the
BhsCommand
command to open it when the application startsup. You could create aFrontendApplicationContribution
for that.Alternatively I would recommend to extract such functionality into a modal, see the AbstractDialog api.