matthewp / comic-reader

A comic reader web component

Home Page:https://pkg.spooky.click/comic-reader/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Allow the `src` property to take an array

matthewp opened this issue · comments

I'm not 100% if this is something we should do or not, but it make sense to take an array of URLs for some cases.

let reader = document.querySelector('comic-reader');

reader.src = ['https://path/to/one.jpg', 'https://path/to/two.jpg'];