Skip to content

Commit

Permalink
fix(docs): Fix wrong API name class for Menu and MegaMenu - FRONT-4685 (
Browse files Browse the repository at this point in the history
#3720)

* Fix wrong API class name

* Fix wrong API class name

* Fix wrong API class name

* Fix wrong API class name

---------

Co-authored-by: Romain Emery <[email protected]>
  • Loading branch information
joarod-eu and emeryro authored Nov 20, 2024
1 parent 0d26e91 commit 680c3fe
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Given you have 1 element with an attribute `data-ecl-mega-menu` on the page:

```js
var elt = document.querySelector('[data-ecl-mega-menu]');
var menu = new ECL.megaMenu(elt);
var menu = new ECL.MegaMenu(elt);
menu.init();
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ Given you have 1 element with an attribute `data-ecl-menu` on the page:

```js
var elt = document.querySelector('[data-ecl-menu]');
var menu = new ECL.menu(elt);
var menu = new ECL.Menu(elt);
menu.init();
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Given you have 1 element with an attribute `data-ecl-mega-menu` on the page:

```js
var elt = document.querySelector('[data-ecl-mega-menu]');
var menu = new ECL.megaMenu(elt);
var menu = new ECL.MegaMenu(elt);
menu.init();
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Given you have 1 element with an attribute `data-ecl-menu` on the page:

```js
var elt = document.querySelector('[data-ecl-menu]');
var menu = new ECL.menu(elt);
var menu = new ECL.Menu(elt);
menu.init();
```

Expand Down

1 comment on commit 680c3fe

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.