Layer 227
PageBlockDetails
A collapsible details block
constructor
pageBlockDetails#76768bed flags:# open:flags.0?true blocks:Vector<PageBlock> title:RichText = PageBlock;
Parameters
| Name | Type | Description |
|---|---|---|
| Open | flags .0? true | Whether the block is open by default |
| Blocks | Vector < PageBlock > | Block contents |
| Title | RichText | Always visible heading for the block |
Returns
PageBlockGogram Example
// Creating PageBlockDetails constructor obj := &tg.PageBlockDetails{ Open: nil, Blocks: &tg.VectorPageBlock{}, Title: &tg.RichText{}, }