Calm motion: animations on this site only fade, with no movement
Continue watching
Items with the place where you stopped, and a remove button
Puts the shows and episodes that the viewer did not finish at the top of a home page. For a row of new shows, use the poster row.
Basic
itemsis a list. Each item has anid, atitle, animage, anhref, and theprogressfrom 0 to 1. It can also have asubtitleand the length inminutes.- The place where the viewer stopped shows as a bar on the picture and in words. With
minutes, the words give the time left, such as "29 min left". Without it, they give the percent done. - Each card is one link. The ✕ button emits
removewith the id. Its name has the title, so each button is clear on its own. - The row scrolls sideways. If the list is empty, nothing shows.
- Change the words with
labelsor a label pack:titleand the functionsleft,done, andremove.
Usage
ts
import { BlessContinueWatching } from "blessing-ui";API
Props
| Name | Type | Default | Description |
|---|---|---|---|
items* | BlessResumeItem[] | — | |
labels | Partial<{ title: string; left: (minutes: number) => string; done: (percent: number) => string; remove: (title: string) => string; }> | — |
Events
| Name | Payload | Description |
|---|---|---|
remove | [id: string] |