1.11.0 • Published 5 years ago

@ecl/ec-template-gallery-dialog v1.11.0

Weekly downloads
-
License
EUPL-1.1
Repository
github
Last release
5 years ago

Gallery dialog

Notes on technical implementation

In order to make this template work, you will need to combine:

  • Template of @ecl/ec-component-carousel
  • Javascript behaviors of @ecl/ec-component-dialog

As long as you have HTML representation matching the output of carousel component on the page (which is treated as a gallery component) you just need to integrate this markup with the Javascript behaviors of the dialog framework by:

  • including ECL.js object
  • instantiating both the carousel and dialog libraries
document.addEventListener('DOMContentLoaded', function() {
  ECL.dialogs({
    dialogWindowId: 'ecl-carousel',
  });
  ECL.carousels();
});

For further configuration options of both carousel and dialog components, you can read their corresponding JavaScript files, which expose clear APIs.

1.11.0

5 years ago

1.10.1

5 years ago

1.10.0

5 years ago

1.9.0

5 years ago

1.8.0

5 years ago

1.7.0

5 years ago

1.6.0

5 years ago

1.5.0

5 years ago

1.4.0

5 years ago

1.3.0

5 years ago

1.2.0

5 years ago

1.1.0

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago