Skip to content

Commit

Permalink
supply extra Node to AccordionBox to avoid having a Node in multiple …
Browse files Browse the repository at this point in the history
  • Loading branch information
zepumph committed Mar 18, 2022
1 parent 14da76b commit 9aecf06
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion js/AccordionBox.ts
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,8 @@ export default class AccordionBox extends Node {
static AccordionBoxIO: IOType;

/**
* @param contentNode - Content that will be shown or hidden as the accordion box is expanded/collapsed.
* @param contentNode - Content that will be shown or hidden as the accordion box is expanded/collapsed. NOTE: AccordionBox
* places this Node in a pdomOrder, so you should not do that yourself.
* @param [providedOptions] - Various key-value pairs that control the appearance and behavior. Some options are
* specific to this class while some are passed to the superclass. See the code where
* the options are set in the early portion of the constructor for details.
Expand Down

0 comments on commit 9aecf06

Please sign in to comment.