Socket
Socket
Sign inDemoInstall

@lion/input-range

Package Overview
Dependencies
14
Maintainers
2
Versions
97
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @lion/input-range

Provide a way for users to select one value from a range of values


Version published
Weekly downloads
770
increased by27.48%
Maintainers
2
Created
Weekly downloads
 

Readme

Source

Input Range >> Overview ||10

A web component based on the native range input. Its purpose is to provide a way for users to select one value from a range of values.

import { html } from '@mdjs/mdjs-preview';
import '@lion/input-range/define';
export const main = () => html`
  <lion-input-range min="200" max="500" .modelValue="${300}" label="Input range"></lion-input-range>
`;

Features

  • Based on our input.
  • Shows modelValue and unit above the range input.
  • Shows min and max value after the range input.
  • Can hide the min and max value via no-min-max-labels.
  • Makes use of formatNumber for formatting and parsing.

Installation

npm i --save @lion/input-range
import { LionInputRange } from '@lion/input-range';
// or
import '@lion/input-range/define';

Keywords

FAQs

Last updated on 08 Sep 2022

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc