Add table of contents

This commit is contained in:
Matt Triff 2021-12-26 17:47:34 -05:00
parent 6e4903e852
commit b9acfa773d
1 changed files with 13 additions and 3 deletions

View File

@ -1,7 +1,5 @@
# Choices.js [![Actions Status](https://github.com/jshjohnson/Choices/workflows/Build%20and%20test/badge.svg)](https://github.com/jshjohnson/Choices/actions) [![Actions Status](https://github.com/jshjohnson/Choices/workflows/Bundle%20size%20checks/badge.svg)](https://github.com/jshjohnson/Choices/actions) [![npm](https://img.shields.io/npm/v/choices.js.svg)](https://www.npmjs.com/package/choices.js)
---
A vanilla, lightweight (~19kb gzipped 🎉), configurable select box/text input plugin. Similar to Select2 and Selectize but without the jQuery dependency.
[Demo](https://choices-js.github.io/Choices/)
@ -23,6 +21,18 @@ A vanilla, lightweight (~19kb gzipped 🎉), configurable select box/text input
---
## Table of Contents
- [Installation](#installation)
- [Setup](#setup)
- [Terminology](#terminology)
- [Input Types](#input-types)
- [Configuration Options](#configuration-options)
- [Callbacks](#callbacks)
- [Events](#events)
- [Development](#development)
- [License](#license)
## Installation
With [NPM](https://www.npmjs.com/package/choices.js):
@ -198,7 +208,7 @@ Choices works with the following input types, referenced in the documentation as
| [`<select>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/select) | `select-single` |
| [`<select multiple>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/select#attr-multiple) | `select-multiple` |
## Configuration options
## Configuration Options
### silent