Skip to content

neetjn/riot-ani-search

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

riot-ani-search

build

NPM

Lightweight riot.js tag for searching for anime using anichart's api.

About

riot-anti-search is a simple riot tag used for quickly searching for anime using the anilist api.

This tag doesn't depend on any css frameworks, all styles were made with vanilla css using flexbox.

Examples

Usage

To install via NPM:

npm install riot-ani-search

For a quick start using jsdelivr:

<script src="https://cdn.jsdelivr.net/npm/riot-ani-search/dist/riot-ani-search.js"></script>

This tag takes a total of 3 opts:

*client_id ; string : Client id for anilist api.

*client_secret ; string : Client secret key for anilist api.

mature ; void : Will remove filtering for mature search results.

Once available, riot-ani-search can be used like so:

<riot-ani-search
  client-id="neetjn"
  client-secret="*"
  mature />

Contributors


Copyright (c) 2017 John Nolette Licensed under the MIT license.

Releases

No releases published

Packages

No packages published

Languages