Skip to content

Commit

Permalink
Merge branch 'release/1.0.2'
Browse files Browse the repository at this point in the history
  • Loading branch information
michielabe committed May 16, 2018
2 parents cea769b + 74bb808 commit 7f5398d
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# [1.0.2] 16-05-2018
## Updated
- Updated README

# [1.0.1] 16-05-2018
## Updated
- Moved ImageController from Http to src
Expand Down
15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,21 @@ Add to config/app.php inside the alias array
'HTML' => Collective\Html\HtmlFacade::class,
```

## Usage
Add the following code inside the header of your page
```html
{!! SirTrevor::includeStylesheets() !!}
```
The Sir Trevor scripts require [jQuery](https://code.jquery.com/), so be sure to add [jQuery](https://code.jquery.com/) to your page.

Add the following code at the bottem of your page
```html
{!! SirTrevor::includeScripts() !!}
```
On your Sir Trevor input field add the class name defined in your config, which by default is '**sir-trevor**'
```html
<input name="text" class="sir-trevor">
```

## License

Expand Down

0 comments on commit 7f5398d

Please sign in to comment.