Skip to content

2.2.0

Compare
Choose a tag to compare
@fabianmichael fabianmichael released this 29 May 10:09
· 6 commits to main since this release
5f01021

Conditional values now also work for the style attribute:

<button <?= attributes([
    'role' => 'button',
    'style' => [
      'font-size: 2rem;' => ($size === 'large'),
    ],
]) ?>>
`