diff options
author | Marko Gronroos <magi@vaadin.com> | 2016-05-20 14:44:42 +0300 |
---|---|---|
committer | Marko Grönroos <magi@vaadin.com> | 2016-06-30 11:13:20 +0000 |
commit | 93767cf76b2fb14c65b758066c67fc8b48cc2eeb (patch) | |
tree | 958ddb8c45271e9a505280ef750ae07ebeda170f /documentation/components/components-calendar.asciidoc | |
parent | edad7348bb8eba807225bfa72d4b0a4342426c71 (diff) | |
download | vaadin-framework-93767cf76b2fb14c65b758066c67fc8b48cc2eeb.tar.gz vaadin-framework-93767cf76b2fb14c65b758066c67fc8b48cc2eeb.zip |
Scaled images for print edition and fixed errors up to the beginning of layouts chapter (#19835). Also major revision of Tree, CustomField, and layouts overview.
Change-Id: I19f5e9511b83f953ce4707f324d81c2821ebb69d
Diffstat (limited to 'documentation/components/components-calendar.asciidoc')
-rw-r--r-- | documentation/components/components-calendar.asciidoc | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/documentation/components/components-calendar.asciidoc b/documentation/components/components-calendar.asciidoc index e682be2bb2..6b56483882 100644 --- a/documentation/components/components-calendar.asciidoc +++ b/documentation/components/components-calendar.asciidoc @@ -28,13 +28,9 @@ well as events, is handled with event listeners. Also date/time range selections, event dragging, and event resizing can be listened by the server. The weekly view has navigation buttons to navigate forward and backward in time. These actions are also listened by the server. Custom navigation can be -implemented using event handlers - -ifdef::web[] -, as described in -<<components.calendar.customizing>> -endif::web[] -. +implemented using event +ifdef::web[handlers, as described in <<components.calendar.customizing>>.] +ifndef::web[handlers.] The data source of a calendar can be practically anything, as its events are queried dynamically by the component. You can bind the calendar to a Vaadin @@ -67,7 +63,7 @@ always calculated in an accuracy of one millisecond. [[figure.components.calendar.daterange.monthly]] .Monthly view with All-Day and Normal Events -image::img/calendar-monthly.png[] +image::img/calendar-monthly.png[width=60%, scaledwidth=100%] The monthly view, shown in <<figure.components.calendar.daterange.monthly>>, can easily be used to control all types of events, but it is best suited for events @@ -78,7 +74,7 @@ hours. These events can not be moved by dragging in the monthly view. [[figure.components.calendar.daterange.weekly]] .Weekly View -image::img/calendar-weekly.png[] +image::img/calendar-weekly.png[width=60%, scaledwidth=100%] In <<figure.components.calendar.daterange.weekly>>, you can see four normal day events and also all-day events at the top of the time line grid. |