Content block <x-content-block>
Properties
Property | Attribute | Type | Default | Description |
---|---|---|---|---|
Background
|
useBackground
|
boolean
|
false
|
De optie om een grijze achtergrond toe te voegen aan het content blok |
Title
|
title
|
string
|
false
|
De titel van het content blok |
Footer
|
footer
|
?string
|
false
|
Een footer voor extra content onderaan het content blok |
Voorbeeldcode:
<x-content-block>
<x-slot:title>
<h2 class="title title--h2">Dit is de titel</h2>
</x-slot:title>
Dit is content
</x-content-block>
Dit is de titel
Dit is content
Voorbeeldcode met achtergrond:
<x-content-block
:useBackground="true"
>
<x-slot:title>
<h2 class="title title--h2">Dit is de titel</h2>
</x-slot:title>
Dit is content
</x-content-block>