From b9acfa773d8ce147c469468fdf365489087cd3f8 Mon Sep 17 00:00:00 2001 From: Matt Triff Date: Sun, 26 Dec 2021 17:47:34 -0500 Subject: [PATCH] Add table of contents --- README.md | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 0fd080b..bac044f 100644 --- a/README.md +++ b/README.md @@ -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 | [``](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/select#attr-multiple) | `select-multiple` | -## Configuration options +## Configuration Options ### silent