Closed kostasx closed 7 years ago
Configuration settings (orientation, default_offset_pct) can now be set directly from the HTML container element using HTML5 data attributes.
<div class="twentytwenty-container" data-orientation="vertical" data-default_offset_pct="0.6">
@kostasx This is no longer mergable but I like the idea, if you are interested in reimplementing on top of the new code, I would be happy to merge it, but for now I am going to close this PR
Configuration settings (orientation, default_offset_pct) can now be set directly from the HTML container element using HTML5 data attributes.