Skip to content

Commit

Permalink
Update javascript.md
Browse files Browse the repository at this point in the history
  • Loading branch information
XhmikosR authored and rohit2sharma95 committed Feb 16, 2021
1 parent ebf5060 commit 593eb9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion site/content/docs/5.0/getting-started/javascript.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ If you'd like to get a particular plugin instance, each plugin exposes a `getIns

### CSS selectors in constructors

You can also use a CSS selectors as the first argument instead of a DOM element to initialize the plugin. Currently the element for the plugin is found by `querySelector` method since the plugins support single element only.
You can also use a CSS selectors as the first argument instead of a DOM element to initialize the plugin. Currently the element for the plugin is found by `querySelector` method since the plugins support a single element only.

```js
var modal = new bootstrap.Modal('#myModal')
Expand Down

0 comments on commit 593eb9c

Please sign in to comment.