[Seaside] Twitter Bootstrap and Accordion
Sven Van Caekenberghe
sven at stfx.eu
Wed Jun 3 12:43:28 UTC 2015
> On 03 Jun 2015, at 13:08, Torsten Bergmann <astares at gmx.de> wrote:
> Hi Thomas + Seaside list,
> I implemented an accordion widget in bootstrap project. One can use a block or
> a seaside component for the items of the accordion.
> accordion := TBSAccordion new.
> add: [:html | html text: 'Some content' ] title: 'A block';
> add: [:html | html text: 'Some more content' ] title: 'Item 2';
> add: WACounter new title: 'A component'.
> If required it is possible to do own custom rendering by providing a subclass of
> TBSAccordionItem and adding this to the accordion using #addItem:
> instead of using #add:title:
> A demo is online:
> Just update the code to the latest version or grab the latest image from PharoLauncher or CI
> Hope this helps getting started or use as a template for own experiments.
> seaside mailing list
> seaside at lists.squeakfoundation.org
More information about the seaside