Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
SiB Notifications
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
7
Issues
7
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Container Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Startin blox
framework
SiB Notifications
Commits
71057384
Commit
71057384
authored
Jun 20, 2019
by
Matthieu Fesselier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update: fix readme and examples
parent
54d100a8
Pipeline
#3965
passed with stage
in 28 seconds
Changes
3
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1 addition
and
7 deletions
+1
-7
README.md
README.md
+1
-5
examples/notifications-routing.html
examples/notifications-routing.html
+0
-1
examples/notifications.html
examples/notifications.html
+0
-1
No files found.
README.md
View file @
71057384
...
...
@@ -11,11 +11,7 @@ window.dispatchEvent(new CustomEvent('read', {detail: {resource: resource}}))
```
## Usage
First, you need to import
`moment.js`
library in your template, to display the dates properly.
```
html
<script
src=
"https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.24.0/moment.min.js"
></script>
```
Then, in your template, insert the following line where you want to display the component.
In your template, insert the following line where you want to display the component.
```
html
<sib-notifications
bind-user
id-suffix=
"inbox"
></sib-notifications>
...
...
examples/notifications-routing.html
View file @
71057384
...
...
@@ -19,7 +19,6 @@
<script
type=
"module"
src=
"https://unpkg.com/@startinblox/core@0.7"
></script>
<script
type=
"module"
src=
"https://unpkg.com/@startinblox/router"
></script>
<script
src=
"https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.24.0/moment.min.js"
></script>
<style>
:root
{
...
...
examples/notifications.html
View file @
71057384
...
...
@@ -19,7 +19,6 @@
<script
type=
"module"
src=
"https://unpkg.com/@startinblox/core@0.7"
></script>
<script
type=
"module"
src=
"https://unpkg.com/@startinblox/router"
></script>
<script
src=
"https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.24.0/moment.min.js"
></script>
<style>
:root
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment