Skip to content

Commit

Permalink
added datepicker component
Browse files Browse the repository at this point in the history
  • Loading branch information
thedevtoni committed Mar 3, 2022
1 parent 1cdcc57 commit 61c3fd5
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 30 deletions.
9 changes: 0 additions & 9 deletions ios/App/App/config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,5 @@
<widget version="1.0.0" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">
<access origin="*" />

<feature name="CordovaHttpPlugin">
<param name="ios-package" value="CordovaHttpPlugin"/>
</feature>

<feature name="File">
<param name="ios-package" value="CDVFile"/>
<param name="onload" value="true"/>
</feature>


</widget>
1 change: 0 additions & 1 deletion ios/App/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ def capacitor_pods
pod 'CapacitorHaptics', :path => '../../node_modules/@capacitor/haptics'
pod 'CapacitorKeyboard', :path => '../../node_modules/@capacitor/keyboard'
pod 'CapacitorStatusBar', :path => '../../node_modules/@capacitor/status-bar'
pod 'CordovaPlugins', :path => '../capacitor-cordova-ios-plugins'
end

target 'App' do
Expand Down
20 changes: 3 additions & 17 deletions src/app/modules/tab4/tab4.page.html
Original file line number Diff line number Diff line change
@@ -1,18 +1,4 @@
<ion-header [translucent]="true">
<ion-toolbar>
<ion-title> Tab 4 </ion-title>
</ion-toolbar>
</ion-header>

<ion-content [forceOverscroll]="false">
<ion-list-header color="light">Vertical Bar Chart</ion-list-header>
<ion-card class="welcome-card">
<ion-card-header>
<ion-card-subtitle>Number of Viewers per season for</ion-card-subtitle>
<ion-card-title>Game of Thrones</ion-card-title>
</ion-card-header>
<ion-card-content>
<canvas #barChart></canvas>
</ion-card-content>
</ion-card>
<ion-content class="ion-padding">
<ion-datetime class="w-full" value="2012-12-15T13:47:20.789"></ion-datetime>
</ion-content>

4 changes: 1 addition & 3 deletions src/app/modules/tab4/tab4.page.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,7 @@ export class Tab4Page implements AfterViewInit {

constructor() {}

ngAfterViewInit(): void {
this.createBarChart();
}
ngAfterViewInit(): void {}

createBarChart() {
this.bars = new Chart(this.barChart.nativeElement, {
Expand Down

0 comments on commit 61c3fd5

Please sign in to comment.