Socket
Socket
Sign inDemoInstall

@ecl/twig-component-news-ticker

Package Overview
Dependencies
3
Maintainers
6
Versions
45
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @ecl/twig-component-news-ticker

ECL News ticker


Version published
Weekly downloads
267
decreased by-0.74%
Maintainers
6
Created
Weekly downloads
 

Changelog

Source

4.0.1

:rocket: New Feature
  • #3278 feat(menu): Removing light variant in EC - FRONT-4297 (@planctus)
  • #3209 feat(icon): Replacing twitter with X icons - FRONT-4061 (@planctus)
:bug: Bug Fix
  • #3279 fix(list-illustration): Fixing center alignment - FRONT-4298 (@planctus)
  • #3281 feat(page-header): Removing padding bottom in EU, fixing no margin - FRONT-4301 (@planctus)
  • #3275 fix(carousel): Fixing the resetBannerHeight method, avoiding any loop - FRONT-4293 (@planctus)
  • #3273 fix(notification): Fixing position of the background element for the warning icon - FRONT-4294 (@planctus)
  • #3266 fix(css): Not including the light variant for the menu in EU - FRONT-4287 (@planctus)
  • #3265 fix(language-list): Fixing color on :visited for the current item - FRONT-4290 (@planctus)
:nail_care: Enhancement
  • #3285 feat(navigation-list): Setting 100% height for the items - FRONT-4305 (@planctus)
  • #3282 feat(featured-item): Revamp of the default variant in EC - FRONT-4300 (@planctus)
  • #3280 feat(links): Removing color switch for visited links - FRONT-4302 (@planctus)
  • #3283 feat(images): Removing borders, keeping them only in content-item - FRONT-4303 (@planctus)
  • #3284 feat(list): Revamp of unordered list - FRONT-4304 (@planctus)
:memo: Documentation
:house: Internal
Committers: 1

Readme

Source

ECL News ticker component

npm package: @ecl/twig-component-news-ticker

npm install --save @ecl/twig-component-news-ticker

Parameters:

  • "id" (string) (default: '')
  • "items" (array) (default: []) slide items
    • "content" (string)
    • "link" (string) (optional)
  • "counter_label" (string) (default: 'of')
  • "sr_external" (string) (default: 'External link') screen reader label for external icon
  • "sr_previous" (string) (default: 'Previous news') screen reader label for previous button
  • "sr_next" (string) (default: 'Next news') screen reader label for next button
  • "sr_play" (string) (default: 'Play news ticker') screen reader label for the play button
  • "sr_pause" (string) (default: 'Pause news ticker') screen reader label for the pause button
  • "icon_path" (string) (default: ''): path to the icons svg
  • "extra_classes" (optional) (string) (default: '') Extra classes (space separated)
  • "extra_attributes" (optional) (array) (default: []) Extra attributes
    • "name" (string) Attribute name, eg. 'data-test'
    • "value" (string) Attribute value, eg: 'data-test-1'

Example:

{% include '@ecl/news-ticker/news-ticker.html.twig' with { 
  id: 'news-ticker-example', 
  icon_path: '/icons.svg', 
  counter_label: 'of', 
  items: [ 
    { 
      content: 'EMA starts rolling review of COVID-19 vaccine Vidprevtyn', 
      link: 'https://www.ema.europa.eu/en/news/ema-starts-rolling-review-covid-19-vaccine-vidprevtyn', 
    }, 
    {
      content:
        'President von der Leyen announced that the EU has achieved its goal of fully vaccinating 70% of its adult population on 31 August',
      link: 'https://ec.europa.eu/commission/presscorner/detail/en/ip_21_4362',
    }, 
    { 
      content:
        'President von der Leyen announced that the EU has achieved its goal of fully vaccinating 70% of its adult population on 31 August', 
    }, 
    ...
  ], 
} %}

Keywords

FAQs

Last updated on 14 Mar 2024

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc