0.4.10 • Published 4 years ago

@orcden/od-shadow-quill v0.4.10

Weekly downloads
1
License
MIT
Repository
bitbucket
Last release
4 years ago

OD-Shadow-Quill

Authentication Library

ODCognitoAuth is a simple library that will manage your connection to AWS Cognito Servers

Installation

  • Install with npm
npm i @orcden/od-authentication

Usage

import '@orcden/od-authentication';
<od-top-button offset=5></od-top-button>

Attributes

AttributeTypeDefaultDescription
offsetNumber1In pixels. Set to change how far down the page the user has to scroll before the button is active.
activeBooleanfalseControls CSS to show/hide the button. Setting offset to 0 sets the button to always active.

Functions

NameParametersDescription
toTopNoneScrolls the users screen to the top.

Styling

  • CSS variables are available to alter the default styling provided
CSS Variables
--od-top-button-height
--od-top-button-width
--od-top-button-color
--od-top-button-background-color
--od-top-button-font-size
--od-top-button-hover-bg-color
--od-top-button-left
--od-top-button-right
--od-top-button-padding
--od-top-button-z-index
--od-top-button-outline
--od-top-button-border
--od-top-button-border-radius

Development

Run development server and show demo

npm run demo

Run linter

npm run lint

Fix linter errors

npm run fix

Run tests

npm run test

Build for production

npm run build
0.4.10

4 years ago

0.4.9

4 years ago

0.4.8

4 years ago

0.4.7

4 years ago

0.4.4

4 years ago

0.4.6

4 years ago

0.4.3

4 years ago

0.4.2

4 years ago

0.4.1

4 years ago

0.4.0

4 years ago

0.3.1

4 years ago

0.3.0

4 years ago

0.2.0

4 years ago

0.1.1

4 years ago

0.1.0

4 years ago