Socket
Socket
Sign inDemoInstall

@ecl/ec-component-accordion

Package Overview
Dependencies
Maintainers
3
Versions
59
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ecl/ec-component-accordion - npm Package Compare versions

Comparing version 2.9.0 to 2.10.0

10

ec-component-accordion.js
import { queryOne, queryAll } from '@ecl/ec-base/helpers/dom';
export class Accordion {
static autoInit(root, { ACCORDION: defaultOptions = {} } = {}) {
const accordion = new Accordion(root, defaultOptions);
accordion.init();
// eslint-disable-next-line no-param-reassign
root.ECLAccordion = accordion;
return accordion;
}
constructor(

@@ -52,3 +60,3 @@ element,

destroy() {
if (this.attachClickListener && this.toggle) {
if (this.attachClickListener && this.toggles) {
this.toggles.forEach(toggle => {

@@ -55,0 +63,0 @@ toggle.removeEventListener('click', this.handleClickOnToggle);

8

package.json

@@ -5,3 +5,3 @@ {

"license": "EUPL-1.1",
"version": "2.9.0",
"version": "2.10.0",
"description": "ECL EC Accordion",

@@ -13,4 +13,4 @@ "main": "index.js",

"dependencies": {
"@ecl/ec-base": "^2.9.0",
"@ecl/ec-component-button": "^2.9.0"
"@ecl/ec-base": "^2.10.0",
"@ecl/ec-component-button": "^2.10.0"
},

@@ -33,3 +33,3 @@ "publishConfig": {

],
"gitHead": "78d443b1e119bb479cc51d83641a6a9a435bc2bf"
"gitHead": "545c5c940fe2a67adcd540fafb374e01d165046f"
}
SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc