@ecl/twig-component-skip-link

ECL skip-link

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
@ecl/twig-component-skip-link
7673.4.212 days agoa year agoMinified + gzip package size for @ecl/twig-component-skip-link in KB

Readme

ECL Skip Link component
npm package: @ecl/twig--component-skip-link
npm install --save @ecl/twig-component-skip-link

Parameters

  • "link" (associative array) (default: 'predefined structure below')
- "label" (string) (default: '') - Content of link - "href" (string) (default: '') - href attribute

Example:

{% include '@ecl/skip-link/skip-link.html.twig' with { 
    label: 'Skip to main content', 
    href: '#top', 
} %}