Collapsible widget API reference.