Skip to content

Conversation

ReimundR
Copy link

@ReimundR ReimundR commented Apr 10, 2024

  • added btnattributes for @cookieconsentbutton to allow button customizing
  • removed button label escaping to allow html labels

Example:

@cookieconsentbutton(action: 'reset', label: '<i class="material-icons" style="font-size: 2em">shield</i>',
  attributes: ['id' => 'reset-button', 'class' => 'btn fixed-bottom cookie-reset'],
  btnattributes: ['class' => 'btn bg-transparent', 'style' => 'margin-left: 5px; margin-bottom:5px',
    'data-toggle' => 'tooltip', 'title' => __('cookieConsent::cookies.manage')])

Covers #43

…ing, removed button label escaping to allow html labels
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants