Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ In short: see `index.html` for an example.
A bit longer: Include or copy both `lib/angular-scheduler.min.js` and `css/angular-scheduler.css` into your project and add `scheduler` as a dependency to your module. Then in your template:

```
<scheduler class="scheduler" slots="slots"></dayparting>
<scheduler class="scheduler" slots="slots"></scheduler>
```

`slots` is a list, where each slot represents one time slot in each day. `start` and `end` are minutes, and `day` is an integer representing day of the week (Monday: 0, Tuesday: 1, Sunday: 6). For example:
Expand Down
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,9 @@
{{slots}}
</div>

<scheduler class="scheduler" slots="slots"></dayparting>
<scheduler class="scheduler" slots="slots"></scheduler>

</div>

</body>
</html>
</html>