Giter Club home page Giter Club logo

select_value's Introduction

alt text

Select_menu

Select_menu is a package that allows you to integrate an HTML select. Select_menu use React. By installing this package you will avoid creating a select element and all the options. Currently, this package does not support creating a list without the <optgroup> category option. In the future, this will be possible.

Settings

This package is programmed with React, you must work this language to be able to use it. It uses prop-types to secure transmitted data.

Installation

To install this package on your computed , run this command :

npm i @chris5477/scroll-menu

If in the future , a new version coming , you can upgrade package with this command

npm install @chris5477/scroll-menu@latest

Usage

Here is a simple example to use scroll-menu

'import Select from "@chris5477/scroll-menu"

const App = () => {
return(
    <div className="App">
        <Select arr={[{text : "1", value :1}]}></Select>
    </div>
    )}

export default App'

User guide

Scroll-menu

Allows to select an option among those available

Props

Props Name Description Type
id Define an id to bind label and select String
textLabel Display a text to name the label String
selectClass A class CSS for select element String
value Set value of select element Any
optionClass A class CSS for option element String
arr A list object that contains a value and text property in order to fill in the options Array
handleChange A function retrieves the value of the selected option and fills the select value with it Func

Author

Chris5477

alt text Mon Github

Thank you

select_value's People

Contributors

chris5477 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.