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

add showInToolbox parameter into registerElement function #8383

Closed
andrewtelnov opened this issue Jun 7, 2024 · 0 comments
Closed

add showInToolbox parameter into registerElement function #8383

andrewtelnov opened this issue Jun 7, 2024 · 0 comments
Assignees
Milestone

Comments

@andrewtelnov
Copy link
Member

If there is a need to add a new question type for internal needs that you don't need to see in the Creator Toolbox, then you have to define all items for Toolbox to make sure this new question type is not in the Toolbox.
To avoid it a third parameter, showInToolbox, into the registerElement function is added.
public registerElement(elementType: string, elementCreator: (name: string) => IElement, showInToolbox: boolean = true): void;

@andrewtelnov andrewtelnov self-assigned this Jun 7, 2024
@andrewtelnov andrewtelnov changed the title Add getAllToolboxNames() for ElementFactory add showInToolbox parameter into registerElement function Jun 7, 2024
@tsv2013 tsv2013 closed this as completed in 3842aba Jun 9, 2024
@OlgaLarina OlgaLarina added this to the v1.11.2 milestone Jun 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants