mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
test(safe-area): add RadCalendar example
This commit is contained in:
committed by
Martin Yankov
parent
9faa3c164b
commit
ec98fd6f5f
@@ -14,6 +14,7 @@
|
|||||||
<Button text="StackLayout Examples" tap="onNavigate" route="stacklayout/stacklayout-page"></Button>
|
<Button text="StackLayout Examples" tap="onNavigate" route="stacklayout/stacklayout-page"></Button>
|
||||||
<Button text="WrapLayout Examples" tap="onNavigate" route="wraplayout/wraplayout-page"></Button>
|
<Button text="WrapLayout Examples" tap="onNavigate" route="wraplayout/wraplayout-page"></Button>
|
||||||
<Button text="RadListView Examples" tap="onNavigate" route="radlistview/radlistview-page"></Button>
|
<Button text="RadListView Examples" tap="onNavigate" route="radlistview/radlistview-page"></Button>
|
||||||
|
<Button text="RadCalendar Examples" tap="onNavigate" route="radcalendar/radcalendar-page"></Button>
|
||||||
<Button text="RadChart Examples" tap="onNavigate" route="radchart/radchart-page"></Button>
|
<Button text="RadChart Examples" tap="onNavigate" route="radchart/radchart-page"></Button>
|
||||||
</StackLayout>
|
</StackLayout>
|
||||||
</ScrollView>
|
</ScrollView>
|
||||||
|
|||||||
5
e2e/safe-area/app/radcalendar/radcalendar-page.xml
Normal file
5
e2e/safe-area/app/radcalendar/radcalendar-page.xml
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
<Page class="page" loaded="onPageLoaded" xmlns:calendar="nativescript-ui-calendar" xmlns="http://www.nativescript.org/tns.xsd">
|
||||||
|
<StackLayout class="stack">
|
||||||
|
<calendar:RadCalendar id="calendar" />
|
||||||
|
</StackLayout>
|
||||||
|
</Page>
|
||||||
@@ -1,5 +1,6 @@
|
|||||||
<Page class="page" loaded="onPageLoaded" xmlns:chart="nativescript-ui-chart" xmlns="http://www.nativescript.org/tns.xsd">
|
<Page class="page" loaded="onPageLoaded" xmlns:chart="nativescript-ui-chart" xmlns="http://www.nativescript.org/tns.xsd">
|
||||||
|
|
||||||
|
<GridLayout cols="*" rows="*">
|
||||||
<chart:RadCartesianChart id="cartesianChart">
|
<chart:RadCartesianChart id="cartesianChart">
|
||||||
<chart:RadCartesianChart.series>
|
<chart:RadCartesianChart.series>
|
||||||
<chart:LineSeries items="{{ categoricalSource }}" categoryProperty="Country" valueProperty="Amount">
|
<chart:LineSeries items="{{ categoricalSource }}" categoryProperty="Country" valueProperty="Amount">
|
||||||
@@ -12,5 +13,5 @@
|
|||||||
</chart:LineSeries>
|
</chart:LineSeries>
|
||||||
</chart:RadCartesianChart.series>
|
</chart:RadCartesianChart.series>
|
||||||
</chart:RadCartesianChart>
|
</chart:RadCartesianChart>
|
||||||
|
</GridLayout>
|
||||||
</Page>
|
</Page>
|
||||||
|
|||||||
@@ -14,6 +14,7 @@
|
|||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"nativescript-theme-core": "~1.0.4",
|
"nativescript-theme-core": "~1.0.4",
|
||||||
|
"nativescript-ui-calendar": "^3.8.0",
|
||||||
"nativescript-ui-chart": "^3.7.0",
|
"nativescript-ui-chart": "^3.7.0",
|
||||||
"nativescript-ui-listview": "^3.5.11",
|
"nativescript-ui-listview": "^3.5.11",
|
||||||
"tns-core-modules": "*"
|
"tns-core-modules": "*"
|
||||||
|
|||||||
Reference in New Issue
Block a user