You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A Polymer 2.0 based collection of reusable web components
4
4
5
+
[](https://gitter.im/pf-elements/Lobby?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
6
+
5
7
[](https://www.webcomponents.org/element/owner/my-element)
6
8
7
9
## Demo
8
-
[Click here for docs & demo](https://github.com/PFElements/pf-calendar-events/blob/master/demo/index.html)
9
-
10
+
[Click here for docs & demo](https://pfelements.github.io/pf-calendar-events/components/pf-calendar-events/demo/index.html)
11
+
_[Demo and API docs](https://elements.polymer-project.org/elements/PFElements/pf-calendar-events)_
12
+
_[Demo and API docs 2](https://elements.polymer-project.org/elements/pf-calendar-events)_
10
13
11
14
## Install the Polymer-CLI
12
15
13
16
First, make sure you have the [Polymer CLI](https://www.npmjs.com/package/polymer-cli) installed. Then run `polymer serve` to serve your application locally.
14
-
## Example
17
+
18
+
# PF Calendar Events
19
+
20
+
An Advanced/composite Polymer 2.0 based custom elements that can be used to set Events/appointments/meetings in a calendar.
21
+
22
+
| Element Name | Latest Version (Bower) | Npm version | Build Status |
See the list of elements, demos, and documentation by browsing this collection on webcomponents.org:
29
+
30
+
### [Take me to webcomponents.org ›](https://www.webcomponents.org/element/PFElements/pf-calendar-events)
31
+
32
+
---
33
+
# Customization and usage
34
+
35
+
`<pf-calendar-events></pf-calendar-events>` can be customized in a number of ways
36
+
37
+
## Customization of look and feel
38
+
39
+
By default you have two general options
40
+
41
+
a. material-calendar
42
+
43
+
b. classic-calendar
44
+
45
+
Once you decide you general look and feel then you can further customize the details, e.g. if you chose a Material Design look and feel and you want to change the width, hight, color etc. you can do that with the provided API.
46
+
#### material Calendar Example
15
47
<!---
16
48
```
17
49
<custom-element-demo>
@@ -25,27 +57,88 @@ First, make sure you have the [Polymer CLI](https://www.npmjs.com/package/polyme
25
57
-->
26
58
```html
27
59
28
-
# PF Calendar Events
29
60
30
-
An Advanced/composite Polymer 2.0 based custom elements that can be used to set Events/appointments/meetings in a calendar.
See the list of elements, demos, and documentation by browsing this collection on webcomponents.org:
85
+
</pf-calendar-events>
86
+
```
87
+
default value of 'calendarstyle' is 'material-calendar'
88
+
### Types of calendar
89
+
You can define different types of calendar events (appointments, meetings, reminders, etc). e.g. you can define a "Sports" Calendar "Office Meeting" calendar, "Birthday Reminders" calendar. Distinct type of categories will appear in different colors.
90
+
91
+
### CRUD operations
92
+
93
+
Buttons / icons are provided to enable Adding, deleting or updating an event (meeting, reminder, appointment etc)
94
+
Material based button and icons are provided to enable these operations.
95
+
For firebase events data, please see our firebase element
96
+
97
+
## Customization of Calendar Events/Data (your meetings, appointments, reminders etc)
98
+
99
+
Of course if you cannot provide you own data then why even use a third party component, and you need events as well to notify you of the user interaction with the calendar
100
+
101
+
This custom element provides you two generic ways that again can be further customized
102
+
103
+
a. Data Through firebase custom element (Please see our firebase custom element that can be combined with this element to enable your data interaction from firebase
104
+
105
+
b. By providing an array of data. (Calendar events, appointments, meetings, reminders etc.)
106
+
107
+
### CRUD operations
108
+
Our custom element provides a way to hook your CRUD operations into our calendar, it provides a number of API hooks/events to notify you about an operation that is performed on a certain event.
@@ -115,6 +208,12 @@ Your application is already set up to be tested via [web-component-tester](https
115
208
116
209
Comments, questions, suggestions, issues, and pull requests are all welcome.
117
210
211
+
### Get in touch with the team
212
+
213
+
Joing us at [](https://gitter.im/pf-elements/Lobby?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
0 commit comments