Skip to content

Commit

Permalink
updated doc
Browse files Browse the repository at this point in the history
  • Loading branch information
Raj Nandan Sharma authored and Raj Nandan Sharma committed Jul 11, 2022
1 parent 7d78cec commit 69f35d8
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,9 @@ <h6>From CDN</h6>
<h6>From NPM</h6>
<code class="flcode block">
<pre >
npm i floodlightjs</pre>
npm i floodlightjs
import floodlight from 'floodlightjs';
</pre>
</code>
<hr />
<h4>➡️ Basic Usage - Implement a quick google search</h4>
Expand Down Expand Up @@ -220,7 +222,7 @@ <h6>Add your CSS</h6>
<script type="text/javascript" src="src/floodlight.js"></script>
<script>
let fl = new FloodLight();

//this takes to parameters. first parameter is the `key`, second is the description
let cmd = fl.addCommand("g", "Search Something in google");

Expand Down

0 comments on commit 69f35d8

Please sign in to comment.