Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@nativescript-community/ui-material-slider

Package Overview
Dependencies
Maintainers
10
Versions
253
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nativescript-community/ui-material-slider - npm Package Compare versions

Comparing version 5.2.3 to 5.2.5

16

CHANGELOG.md

@@ -6,2 +6,18 @@ # Change Log

## [5.2.5](https://github.com/nativescript-community/ui-material-components/tree/master/packages/slider/compare/v5.2.4...v5.2.5) (2021-02-04)
**Note:** Version bump only for package @nativescript-community/ui-material-slider
## [5.2.4](https://github.com/nativescript-community/ui-material-components/tree/master/packages/slider/compare/v5.2.3...v5.2.4) (2021-02-04)
**Note:** Version bump only for package @nativescript-community/ui-material-slider
## [5.2.3](https://github.com/nativescript-community/ui-material-components/tree/master/packages/slider/compare/v5.2.2...v5.2.3) (2021-01-23)

@@ -8,0 +24,0 @@

6

package.json
{
"name": "@nativescript-community/ui-material-slider",
"version": "5.2.3",
"version": "5.2.5",
"description": "Material Design Sliders allow users to make selections from a range of values.",

@@ -45,5 +45,5 @@ "main": "./slider",

"dependencies": {
"@nativescript-community/ui-material-core": "^5.2.3"
"@nativescript-community/ui-material-core": "^5.2.5"
},
"gitHead": "bc97d18870c8d5df8b28b4d67a524df173481643"
"gitHead": "f86acbfcfe1d7f467335af1d5628f6276a8436d3"
}

@@ -1,35 +0,55 @@

[![npm](https://img.shields.io/npm/v/nativescript-material-slider.svg)](https://www.npmjs.com/package/nativescript-material-slider)
[![npm](https://img.shields.io/npm/dt/nativescript-material-slider.svg?label=npm%20downloads)](https://www.npmjs.com/package/nativescript-material-slider)
[![GitHub forks](https://img.shields.io/github/forks/Akylas/nativescript-material-components.svg)](https://github.com/Akylas/nativescript-material-components/network)
[![GitHub stars](https://img.shields.io/github/stars/Akylas/nativescript-material-components.svg)](https://github.com/Akylas/nativescript-material-components/stargazers)
# NativeScript Material Slider
Material Design's [Slider](https://material.io/components/sliders) component for NativeScript.
[![npm](https://img.shields.io/npm/v/@nativescript-community/ui-material-slider.svg)](https://www.npmjs.com/package/@nativescript-community/ui-material-slider)
[![npm](https://img.shields.io/npm/dt/@nativescript-community/ui-material-slider.svg?label=npm%20downloads)](https://www.npmjs.com/package/@nativescript-community/ui-material-slider)
## Contents
1. [Installation](#installation)
2. [Changelog](#changelog)
3. [FAQ](#faq)
4. [Usage](#usage)
- [Plain NativeScript](#plain-nativescript)
- [Angular](#nativescript--angular)
- [Vue](#nativescript--vue)
5. [API](#api)
## Installation
### Warning :warning: :warning:
From 5.x using material component will break N tab component on iOS (which is bound to be removed). This is needed to allow using the latest native iOS features. If needed you can use either [bottomnavigationbar](https://www.npmjs.com/package/nativescript-material-bottomnavigationbar) (this one is the best choice, closest to material design) or [tabs](https://www.npmjs.com/package/nativescript-material-tabs) (clone of N one, but with a little less features)
### :warning: Warning :warning:
From NativeScript 5.x using this component will break the [NativeScript tab component](https://docs.nativescript.org/ui/components/tabs) on iOS (which is bound to be removed). This is needed to allow using the latest native iOS features. If needed you can use either [bottomnavigationbar](https://www.npmjs.com/package/@nativescript-community/ui-material-bottomnavigationbar) (this one is the best choice, closest to material design) or [material-tabs](https://www.npmjs.com/package/@nativescript-community/ui-material-tabs) (clone of the NativeScript one, but with a little less features).
For N 7.0
##
For NativeScript 7.0+
* `tns plugin add @nativescript-community/ui-material-slider`
For N 6.x
##
For NativeScript 6.x
* `tns plugin add nativescript-material-slider`
##
If using ```tns-core-modules```
* `tns plugin add nativescript-material-slider@2.5.4`
##
Be sure to run a new build after adding plugins to avoid any issues.
---
## [Changelog](./CHANGELOG.md)
##### [Material Design Spec](https://material.io/design/components/sliders.html)
## [FAQ](../../README.md#faq)
### Usage
## Usage
### Plain NativeScript
## Plain NativeScript
IMPORTANT: _Make sure you include `xmlns:mds="@nativescript-community/ui-material-slider"` on the Page element._
<span style="color:red">IMPORTANT: </span>_Make sure you include `xmlns:mds="@nativescript-community/ui-material-slider"` on the Page element_
#### XML
### XML
```XML

@@ -43,3 +63,3 @@ <Page xmlns:mds="@nativescript-community/ui-material-slider">

### CSS
#### CSS

@@ -53,4 +73,6 @@ ```CSS

## NativeScript + Angular
##
### NativeScript + Angular
```typescript

@@ -72,4 +94,6 @@ import { NativeScriptMaterialSliderModule } from "@nativescript-community/ui-material-slider/angular";

## NativeScript + Vue
##
### NativeScript + Vue
```javascript

@@ -91,7 +115,7 @@ import SliderPlugin from '@nativescript-community/ui-material-slider/vue';

## Attributes
## API
Inherite from Nativescript [Slider](https://docs.nativescript.org/ui/ns-ui-widgets/slider) so it already has all the same attributes
### Attributes
## Attributes
Inherite from NativeScript [Slider](https://docs.nativescript.org/ui/ns-ui-widgets/slider) so it already has all the same attributes.

@@ -98,0 +122,0 @@ * **elevation** _optional_

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc