Skip to content

Commit bc764c5

Browse files
authored
docs: fix some typos and improve docs
1 parent 7ebd9da commit bc764c5

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

README.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ import { multipleSelect } from 'multiple-select-vanilla';
5353
const ms = multipleSelect('.multiple-select');
5454
```
5555

56-
##### 2. or from data
56+
##### 2. or from a `data` array or object
5757

5858
```ts
5959
import { multipleSelect } from 'multiple-select-vanilla';
@@ -134,7 +134,8 @@ with this code in place, we can now use the following CSP meta tag (which is wha
134134
<meta http-equiv="Content-Security-Policy" content="default-src 'self';style-src 'self' data:; img-src * 'self' data: https:; require-trusted-types-for 'script'; trusted-types dompurify">
135135
```
136136

137-
> **Note** that in our demo we are actually adding `unsafe-inline` simply because we are using Vite (which is not CSP compliant in Dev mode), but the library should work nonetheless without `unsafe-inline`.
137+
> [!NOTE]
138+
> in our demo we are only adding `unsafe-inline` simply because we are using Vite (which is not CSP compliant in Dev mode), but the library should work nonetheless without `unsafe-inline`.
138139
139140
### Installation / Structure
140141

@@ -149,9 +150,10 @@ dist/
149150
browser/
150151
multiple-select.js # ESM build, use with: window.multipleSelect
151152
locales/
152-
multiple-select-all-locales.js # all-in-1 locales as ESM
153+
multiple-select-all-locales.js # all-in-1 locales
153154
..
154-
multiple-select-fr-FR.js # French locale as ESM
155+
multiple-select-es-ES.js # Spanish locale
156+
multiple-select-fr-FR.js # French locale
155157
...
156158
styles/ # CSS and SASS Stylings
157159
css/

0 commit comments

Comments
 (0)