Added list import preview

This commit is contained in:
2017-07-03 19:33:52 +02:00
parent 4f6ffd969d
commit 7262f4db7b
7 changed files with 129 additions and 0 deletions

View File

@ -73,6 +73,11 @@ export function load(arn: AnimeNotifier, element: HTMLElement) {
arn.app.load(url)
}
// Soon
export function soon() {
alert("Coming Soon™")
}
// Diff
export function diff(arn: AnimeNotifier, element: HTMLElement) {
let url = element.dataset.url || (element as HTMLAnchorElement).getAttribute("href")