@ecl-twig/ec-component-skip-link
v2.39.0
Published
ECL-Twig Link Block
Downloads
107
Readme
ECL-Twig Skip Link component
npm package: @ecl-twig/ec-component-skip-link
npm install --save @ecl-twig/ec-component-skip-link
Parameters
- "link" (associative array) (default: 'predefined structure below')
- "label" (string) (default: '') - Content of link
- "href" (string) (default: '') - href attribute
- "_compliance_" (boolean) (default: false) Activates debug
Example:
{% include '@ecl-twig/ec-component-skip-link/ecl-skip-link.html.twig' with {
label: 'Skip to main content',
href: '#top',
} %}