ServicePages which are running as a child of the current page.
Sanity check whether it should be possible to set the "progress" of an Anime.
Check whether the user may subscribe to the Anime.
Observable denoting whether it is possible (read: allowed) to subscribe to the Anime.
Delete the value of the provided namespace key.
if true this operation behaves like Memory.resetMemory with the key as an argument. Otherwise it merely removes the specified namespace.
Get a unique identifier for this anime.
Get the search query to be used for Grobber's search endpoint.
undefined
if there is no search query.
Get the UID of the Anime.
This method will return the stored UID (if available) unless forceSearch
is true.
Ignore the stored UID.
undefined
if there were no results or the AnimePage.getAnimeSearchQuery was empty
Return the URL of this Anime.
Get the amount of episodes this Anime has. Note that this is not the amount of episodes available on Grobber but the amount reported by the site which should ideally be the total amount.
Get the URL of the provided episode for this Anime.
Get the amount of episodes the user has seen.
undefined
if the user is not watching this particular Anime.
Get an observable for the amount of episodes the user has watched.
Get the information stored in the browser storage.
Observable denoting whether the user is subscribed to the Anime
Get the AnimeSubscriptionInfo for the Anime
undefined if the user isn't subscribed to the Anime.
Keep track of the given element such that it can be removed later.
Check whether the user is subscribed to the Anime
Load the service page. This is a no-op if the page is already loaded.
Open the anime search dialog.
Store the given value under the namespace key.
Namespaces are separated by a dot
Remove all elements from the given namespaces. Removing elements of a namespace also removes all elements in namespaces further down.
If no namespaces provided removes all elements.
Reset the given namespaces and all their children.
When called with no arguments this flushes the entire memory (i.e. deletes all keys).
Set the UID associated with the AnimePage.getAnimeIdentifier identifier and update the subscription if subscribed. This will cause the current ServicePage to be reloaded!
Set the amount of episodes watched.
whether the action was successful.
Navigate the user to the episode with the given index.
Subscribe to the Anime.
Whether the subscription was successful
Unload a service page. This is a no-op if the service page isn't loaded, i.e. ServicePage.loaded is false.
Unsubscribe from the Anime.
Whether the action was successful.
Update the subscription for this Anime.
Whether the action was successful.
Generated using TypeDoc
AnimePage reflects a page that is dedicated to a specific Anime.