Closed Rus7am closed 6 months ago
Actually a parameter can be passed to the function and it is optional. We should update our docs and definitions to reflect this. If a boolean value is passed to the method determine whether to open/close the popup. For example in the case where true is passed the popup will always be opened.
Bug report
DropDownList.toggle()
method TypeScript declaration requires a parameter:toggle(toggle: boolean): void;
but it's not required in the documentation and in reality.
Environment