From b05477ab29bec10929d8cab535f7738a12f4ec9d Mon Sep 17 00:00:00 2001 From: MaxOvs19 <88626313+MaxOvs19@users.noreply.github.com> Date: Wed, 19 Oct 2022 20:36:00 +0300 Subject: [PATCH] Update README.md --- README.md | 29 +---------------------------- 1 file changed, 1 insertion(+), 28 deletions(-) diff --git a/README.md b/README.md index 8c0f182..4f0c3bc 100644 --- a/README.md +++ b/README.md @@ -3,31 +3,4 @@ ----------------------------------------------------- This component allows you to create a generic select. ----------------------------------------------------- - -Creating a Component: - - - Сreate an element with class cg-dropdown and give it a unique selector. - ``` - - ``` - - Create a class element. - ``` - const dropdown = new DropDown() - ``` - - Next, pass the desired settings - - -------------------------------------------------- - ## Settings - - options = { - - selector: Here we pass our unique selector. Obligatory item!!! - - placeholder: string - - selected: string - - items = [] - - url: string - - event: string - - styles: {} - - multiselect: boolean - - multiselectTag: boolean - } - +All documentation on the select is located in the folder of the same name