Accordion

What is a dog?
A dog is a type of domesticated animal. Known for its loyalty and faithfulness, it can be found as a welcome guest in many households across the world.
What kinds of dogs are there?
There are many breeds of dogs. Each breed varies in size and temperament. Owners often select a breed of dog that they find to be compatible with their own lifestyle and desires from a companion.
How do you acquire a dog?

Three common ways for a prospective owner to acquire a dog is from pet shops, private owners, or shelters.

A pet shop may be the most convenient way to buy a dog. Buying a dog from a private owner allows you to assess the pedigree and upbringing of your dog before choosing to take it home. Lastly, finding your dog from a shelter, helps give a good home to a dog who may not find one so readily.

                Accordion::widget([
    'contentOptions' => [
        'encode' => false
    ],
    'items' => [
        [
            'title' => 'What is a dog?',
            'content' => 'A dog is a type of domesticated animal. Known for its loyalty and faithfulness, it can be found as a welcome guest in many households across the world.'
        ],
        [
            'title' => 'What kinds of dogs are there?',
            'content' => 'There are many breeds of dogs. Each breed varies in size and temperament. Owners often select a breed of dog that they find to be compatible with their own lifestyle and desires from a companion.'
        ],
        [
            'title' => 'How do you acquire a dog?',
            'content' => '<p>Three common ways for a prospective owner to acquire a dog is from pet shops, private owners, or shelters.</p>'
        ],
    ]
]);
                
                
Setting Default Description
contentOptions [ 'encode' => true ] Content options.
items array Items. Must have title and content options. Example:
'items' => [
    ['label' => '1st label','content' => 'Content'],
    ['label' => '2th label','content' => 'Content']
]