Skip to content

Commit bf5685a

Browse files
author
pipeline
committed
bug(EJ2-3645): Calendar sample are updated.
1 parent 616874a commit bf5685a

11 files changed

+32
-34
lines changed

src/calendar/calendar-style.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#control_wrapper {
22
margin: 0 auto;
3-
max-width: 350px;
3+
max-width: 300px;
44
}
55

66
.control-section {

src/calendar/default-plnkr.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

src/calendar/default.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,14 @@
22
<div id="control_wrapper">
33
<div id="container">
44
<ej-calendar (change)="onValueChange($event)"></ej-calendar>
5+
<span id="selected">Selected Value: </span>
56
</div>
6-
<span id="selected">Selected Value: </span>
77
</div>
88
</div>
99
<div id="description">
1010
<p>
11-
A <code>Calendar</code> is a graphical user interface control which provides the multi-view representation to display and select a date. Also, provide options to navigate in different levels of views like month, year, decade.
11+
A <code>Calendar</code> is a graphical user interface control which provides the multi-view representation to display
12+
and select a date. Also, provide options to navigate in different levels of views like month, year, decade.
1213
</p>
1314
<p>More information on the calendar instantiation can be found in this
1415
<a href="http://ej2.syncfusion.com/angular/documentation/calendar/getting-started.html" target="_blank"> documentation section</a>.</p>

src/calendar/disabled-plnkr.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

src/calendar/disabled.html

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,15 @@
22
<div id="control_wrapper">
33
<div id="container">
44
<ej-calendar (renderDayCell)="onLoad($event)" (change)="onValueChange($event)"></ej-calendar>
5+
<span id="selected">Selected Value: </span>
56
</div>
6-
<span id="selected">Selected Value: </span>
77
</div>
88
</div>
99
<div id="description">
1010
<p>
11-
Disabled Dates sample demonstrates, how to disable a specific dates in a calendar by using <code>renderDayCell</code> event. This event gets triggered on each day cell element creation that allows you to customize or disable the specific dates
12-
in calendar.
13-
</p>
14-
<p>
15-
Here, weekend date's are disabled by setting <code>args.disabled</code> as true.
11+
Disabled Dates sample demonstrates, how to disable a specific dates in a calendar by using <code>renderDayCell</code> event. This event gets triggered on each day cell element creation that allows you to customize or disable the specific
12+
dates in calendar. Here the weekend date's are disabled by using renderDayCell.
1613
</p>
1714
<p>More information on the calendar customization can be found in this
18-
<a href="http://ej2.syncfusion.com/angular/documentation/calendar/getting-started.html" target="_blank"> documentation section</a>.</p>
15+
<a href="http://ej2.syncfusion.com/angular/documentation/calendar/customization.html" target="_blank"> documentation section</a>.</p>
1916
</div>

src/calendar/internationalization-plnkr.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

src/calendar/internationalization.html

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
<div class="control-section">
22
<div class="col-lg-8 content-wrapper">
33
<div class="content">
4-
<div>
5-
<ej-calendar [locale]="locale" [value]="date" (change)="onValueChange($event)"></ej-calendar>
6-
</div>
4+
<ej-calendar [locale]="locale" [value]="date" (change)="onValueChange($event)"></ej-calendar>
75
<span id="selected">Selected Value: </span>
86
</div>
97
</div>
@@ -33,28 +31,32 @@
3331
</div>
3432
<div id="description">
3533
<p>
36-
The calendar control was rendered with <code>German</code> culture. Here the date separator, week header and month text content are updated based on current culture.
37-
</p>
38-
<p>
39-
you can also change the control culture by selecting it from the culture options in the properties panel.
34+
The calendar control was rendered with <code>German</code> culture. Here the date separator, week header and month
35+
text content are updated based on current culture. You can also change the control culture by selecting it from the
36+
culture options in the properties panel.
4037
</p>
41-
<p>More information on the internationalization configuration can be found in this <a href="http://ej2.syncfusion.com/documentation/base/intl.html" target="_blank"> documentation section</a>.</p>
38+
<p>More information on the internationalization configuration can be found in this <a href="http://ej2.syncfusion.com/angular/documentation/calendar/internationalization.html"
39+
target="_blank"> documentation section</a>.</p>
4240
</div>
4341
<style>
4442
.property-panel-content {
4543
padding: 0 10px 10px 0;
4644
}
47-
45+
4846
.content {
4947
width: 43%;
5048
margin: 0 auto;
5149
min-width: 185px;
5250
padding: 20px 0px;
5351
}
54-
52+
5553
.control-label {
5654
padding: 24px 0px 0px 0px;
5755
font-size: 12px;
5856
opacity: 0.54;
5957
}
58+
59+
.e-bigger .content {
60+
width: 100%;
61+
}
6062
</style>

src/calendar/range-plnkr.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

src/calendar/range.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,17 @@
22
<div id="control_wrapper">
33
<div id="container">
44
<ej-calendar [min]='minDate' [max]='maxDate' (change)="onValueChange($event)"></ej-calendar>
5+
<span id="selected">Selected Value: </span>
56
</div>
6-
<span id="selected">Selected Value: </span>
77
</div>
88
</div>
99
<div id="description">
1010
<p>
11-
Date Range sample illustrates the date selection within a specific range in a calendar by using <code>min</code> and <code>max</code> properties.
11+
Date Range sample illustrates the date selection within a specific range in a calendar by using <code>min</code> and <code>max</code> properties.
1212
</p>
1313
<p>
1414
Here, the date selection range was resricted within 5/5/2017 - 5/27/2017.
1515
</p>
1616
<p>More information on the date range restriction can be found in this
17-
<a href="http://ej2.syncfusion.com/angular/documentation/calendar/getting-started.html" target="_blank"> documentation section</a>.</p>
17+
<a href="http://ej2.syncfusion.com/angular/documentation/calendar/date-range.html" target="_blank"> documentation section</a>.</p>
1818
</div>

src/calendar/special-plnkr.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)