Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all 48979 articles
Browse latest View live

Could not generate downloadurl

$
0
0

@jimmyblack wrote:

I’m using this to try to get url into my real time database at firebase, but I only could store is time, path and content type, no url. The error is the 0 is undefined. Need help here, urgent. Thanks in advanced
This is my data.ts code.

import { Injectable } from '@angular/core';
import { AngularFireDatabase } from 'angularfire2/database';
import firebase from 'firebase/app';
import { AngularFireStorage, AngularFireUploadTask } from 'angularfire2/storage';
import 'rxjs/Rx'
 
@Injectable()
export class DataProvider {
 
  constructor(private db: AngularFireDatabase, private afStorage: AngularFireStorage) {
    
   }
 
  getFiles() {
    let ref = this.db.list('files');
 
    return ref.snapshotChanges().map(changes => {
      return changes.map(c => ({ key: c.payload.key, ...c.payload.val() }));
    });
  }
 
  uploadToStorage(information): AngularFireUploadTask {
    let newName = `${new Date().getTime()}.txt`;
 
    return this.afStorage.ref(`files/${newName}`).putString(information);
  }
 
  storeInfoToDatabase(metainfo) {
    let toSave = {
      created: metainfo.timeCreated,
      url: metainfo.downloadURL[0],
      fullPath: metainfo.fullPath,
      contentType: metainfo.contentType
    }
    return this.db.list('files').push(toSave);
  }
 
 
  deleteFile(file) {
    let key = file.key;
    let storagePath = file.fullPath;
 
    let ref = this.db.list('files');
 
    ref.remove(key);
    return this.afStorage.ref(storagePath).delete();
  }
}

Posts: 1

Participants: 1

Read full topic


Read Data from .html to .ts file

$
0
0

@salad-gg wrote:

//in home.ts file
@Input(“UserData”) UserData: User[ ];

I have UserData that that is read from a different page as above. The data is available and being used in the home.html page BUT, when I console I get undefined.

Since it’s available at html level, how can I read it in the home.ts file?
console.log(UserData);

Posts: 2

Participants: 2

Read full topic

Ionic refresh between tabs

Ion-radio sub-list should checked with previous selection

$
0
0

@sekharkumar wrote:

i have a list contains two items each item contains list of radio items. if i am selected one radio-item and go to the second item and selected one more radio item now going back to my first item sub-list it should checked with previous selection.

image

Posts: 2

Participants: 1

Read full topic

Ionic Select list issue please help me out

$
0
0

@flycoders_sourav wrote:

I have a drop down menu When the user clicks on dropdown menu , after that open a modal, and user can select a country name from this list and this selected value show in dropdown menu how can i do that please help me out
Below my ui recorded screenshots please check and help me

Any help or source would be highly appreciated
Thanks in advance

Posts: 1

Participants: 1

Read full topic

How to solve the signal SIGABRT thread in xcode

How to receive post data from external redirects while maintaining login state in a mobile app(ionic)

$
0
0

@ionicdjangodev wrote:

This is an ionic mobile app.

I got confusion regarding integration with third party applications.

One such third party service works like this:

Our site redirects(using post request) to third party and people enter things like credit card in that site and it will redirect to our site with post request/data.

I tried using in app browser in ionic which successfully sent post request to third party site. But when it redirected back, if it redirects with get parameters, I would have captured them. But it is redirecting with post data and seems like ionic cannot capture post data.

So, thinking of capturing using server urls. But when I do with server urls, how do I maintain login state? Because people will be logged into the app, not server. So, this way, people might be asked to login to the server again?

So, what is the correct way to go here? Also, should I use token authentication or session authentication to make this work?

I am using Django backend for api by the way.

Thanks.

Posts: 1

Participants: 1

Read full topic

How to style ion-button -> button:before element in Ionic4

$
0
0

@distante wrote:

I am migrating an Ionic3 app to Ionic4 and I am having a hard time translating some of the CSS rules there.

For example, in Ionic3 I could style the :before or :after or an <button ion-button> element with button[ion-button]:before.

Now the <button> element is inside the Shadow DOM of <ion-button> and I am not able to put an :before inside the <button>. Is this possible with Ionic4 ?

Posts: 4

Participants: 2

Read full topic


Ionic 4: Simple starter-like app with tabs gets 'horrible' performance result in Lighthouse

$
0
0

@christianweyer wrote:

Hi all,

I have a very simple Ionic 4 app, based on the tab starter. The app (built with --prod) is hosted on Firebase Hosting.
When running Lighthouse in latest Chrome I get these results:

Hm, any idea what could be the intrinsic issue here with performance? The app does not do any remote call to APIs, only the built-in lazy loading of modules, anything else is handled locally.

Something seems really wrong:

Thanks!

Posts: 4

Participants: 2

Read full topic

Failed to load index.html try again later issue in ionic 4

$
0
0

@HarinderSingh wrote:

I have strange issue.
I have globally installed ionic 4 latest version.

When I create ionic 4 project and run in browser using ionic serve it works fine, everything is fine.

But
When i try to create ionic 3 project using this below command:
ionic start myApp blank --type=ionic-angular
It successfully creates app but when I run it using ionic serve then browser shows try again later.
CLI shows Failed to load index.html
I see no index.html file is generated in www folder but it is available in src folder.

I tried all things like npm update, npm install, delete node_modules folder. Nothing helps. Always shows error. Screenshots attached.

Posts: 1

Participants: 1

Read full topic

Ionic DevApp Not Finding App

$
0
0

@mjdn wrote:

Hi All,

I’m currently learning Ionic and following the Your First Ionic App - Framework V4 guide, https://ionicframework.com/docs/developer-resources/guides/first-app-v4/intro. When I run ionic serve and launch the DevApp on my iPhone, it never automatically finds it. I have to enter the address manually in order to view the app. Is that normal? Both devices are on the same network.

macOS Mojave - 10.14.3
Ionic CLI - 4.10.2
Ionic DevApp on iOS - 02252f5

Posts: 1

Participants: 1

Read full topic

Problem with ionic cordova build browser

$
0
0

@NeyBarbosa wrote:

Hi!

I try run my ionic project that is hosted on a remote server (Debian) like a website but when I run the command "ionic cordova build browser --prod" I get this error:

error

Global packages:

Ionic CLI : 4.10.2
Cordova CLI : 8.1.2

Local packages:

@ionic/app-scripts : 3.2.2
Cordova Platforms  : browser 5.0.4
Ionic Framework    : ionic-angular 3.9.2

System:

Node       : v11.9.0
OS         : Debian 9 x64 (stretch)
npm        : 6.5.0

Thanks for your attention. I’m looking forward to your reply.

Posts: 1

Participants: 1

Read full topic

Cannot create an app with Ionic 3

$
0
0

@elaias wrote:

Hi everyone!

I’m not able to create a new app with Ionic 3.20.1
Once I’ve chosen the template the console hangs and nothing else happens. Only an empty folder is created. BUT It’s going well with Ionic 4.

Could please anyone help me with this issue? I really need to use Ionic 3, but how to fix this?

Ionic 3.20.1
Cordova 8.1.2
Node.js 10.14.2

Thank you!

Upd: I ran ionic start myApp blank and it loaded something BUT it stopped again after the next choosing step.

Posts: 1

Participants: 1

Read full topic

Android web view Block URL by Whitelist

$
0
0

@behrooz2 wrote:

Hi friends,

I have been frustrated by running my app on android. I use latest cordova-plugin-ionic-webview (3.1.2) and have proper whitelisting in my config file. But when I launch my app on android device, it seems like all my external URLs get blocked:

02-09 12:05:01.071 31101-31223/com.ionicframework.fitopedia341280 W/SystemWebViewClient: URL blocked by whitelist: https://MYAPP.appspot.com/BLAH/

Here is my Ionic Info:

Ionic:

   ionic (Ionic CLI)  : 4.10.2 (/usr/local/lib/node_modules/ionic)
   Ionic Framework    : ionic-angular 3.9.2
   @ionic/app-scripts : 3.2.0

Cordova:

   cordova (Cordova CLI) : 8.1.2 (cordova-lib@8.1.1)
   Cordova Platforms     : android 6.4.0, ios 4.5.5
   Cordova Plugins       : cordova-plugin-ionic-keyboard 2.1.3, cordova-plugin-ionic-webview 3.1.2, (and 12 other plugins)

System:

   Android SDK Tools : 26.1.1 (/Users/behrooz/Library/Android/sdk/)
   NodeJS            : v9.11.1 (/usr/local/Cellar/node/9.11.1/bin/node)
   npm               : 5.10.0
   OS                : macOS Mojave
   Xcode             : Xcode 10.1 Build version 10B61

and here is my cordova info including config.xml:


Node version: v9.11.1

Cordova version: 8.1.0

Config.xml file: 

<?xml version='1.0' encoding='utf-8'?>
<widget id="com.ionicframework.fitopedia341280" version="0.0.5" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">
    <name>Fitopedia</name>
    <description>Awesome app.</description>
    <author email="hi@ionicframework" href="http://ionicframework.com/">Ionic Framework Team</author>
    <content src="index.html" />
    <access origin="*" />
    <allow-navigation href="http://ionic.local/*" />
    <allow-navigation href="https://MYAPP.appspot.com/*" />
    <allow-intent href="http://*/*" />
    <allow-intent href="https://*/*" />
    <allow-intent href="tel:*" />
    <allow-intent href="sms:*" />
    <allow-intent href="mailto:*" />
    <allow-intent href="geo:*" />
    <platform name="android">
        <allow-intent href="market:*" />
        <icon density="ldpi" src="resources/android/icon/drawable-ldpi-icon.png" />
        <icon density="mdpi" src="resources/android/icon/drawable-mdpi-icon.png" />
        <icon density="hdpi" src="resources/android/icon/drawable-hdpi-icon.png" />
        <icon density="xhdpi" src="resources/android/icon/drawable-xhdpi-icon.png" />
        <icon density="xxhdpi" src="resources/android/icon/drawable-xxhdpi-icon.png" />
        <icon density="xxxhdpi" src="resources/android/icon/drawable-xxxhdpi-icon.png" />
        <splash density="land-ldpi" src="resources/android/splash/drawable-land-ldpi-screen.png" />
        <splash density="land-mdpi" src="resources/android/splash/drawable-land-mdpi-screen.png" />
        <splash density="land-hdpi" src="resources/android/splash/drawable-land-hdpi-screen.png" />
        <splash density="land-xhdpi" src="resources/android/splash/drawable-land-xhdpi-screen.png" />
        <splash density="land-xxhdpi" src="resources/android/splash/drawable-land-xxhdpi-screen.png" />
        <splash density="land-xxxhdpi" src="resources/android/splash/drawable-land-xxxhdpi-screen.png" />
        <splash density="port-ldpi" src="resources/android/splash/drawable-port-ldpi-screen.png" />
        <splash density="port-mdpi" src="resources/android/splash/drawable-port-mdpi-screen.png" />
        <splash density="port-hdpi" src="resources/android/splash/drawable-port-hdpi-screen.png" />
        <splash density="port-xhdpi" src="resources/android/splash/drawable-port-xhdpi-screen.png" />
        <splash density="port-xxhdpi" src="resources/android/splash/drawable-port-xxhdpi-screen.png" />
        <splash density="port-xxxhdpi" src="resources/android/splash/drawable-port-xxxhdpi-screen.png" />
    </platform>
    <platform name="ios">
        <allow-intent href="itms:*" />
        <allow-intent href="itms-apps:*" />
        <icon height="57" src="resources/ios/icon/icon.png" width="57" />
        <icon height="114" src="resources/ios/icon/icon@2x.png" width="114" />
        <icon height="40" src="resources/ios/icon/icon-40.png" width="40" />
        <icon height="80" src="resources/ios/icon/icon-40@2x.png" width="80" />
        <icon height="120" src="resources/ios/icon/icon-40@3x.png" width="120" />
        <icon height="50" src="resources/ios/icon/icon-50.png" width="50" />
        <icon height="100" src="resources/ios/icon/icon-50@2x.png" width="100" />
        <icon height="60" src="resources/ios/icon/icon-60.png" width="60" />
        <icon height="120" src="resources/ios/icon/icon-60@2x.png" width="120" />
        <icon height="180" src="resources/ios/icon/icon-60@3x.png" width="180" />
        <icon height="72" src="resources/ios/icon/icon-72.png" width="72" />
        <icon height="144" src="resources/ios/icon/icon-72@2x.png" width="144" />
        <icon height="76" src="resources/ios/icon/icon-76.png" width="76" />
        <icon height="152" src="resources/ios/icon/icon-76@2x.png" width="152" />
        <icon height="167" src="resources/ios/icon/icon-83.5@2x.png" width="167" />
        <icon height="29" src="resources/ios/icon/icon-small.png" width="29" />
        <icon height="58" src="resources/ios/icon/icon-small@2x.png" width="58" />
        <icon height="87" src="resources/ios/icon/icon-small@3x.png" width="87" />
        <splash height="1136" src="resources/ios/splash/Default-568h@2x~iphone.png" width="640" />
        <splash height="1334" src="resources/ios/splash/Default-667h.png" width="750" />
        <splash height="2208" src="resources/ios/splash/Default-736h.png" width="1242" />
        <splash height="1242" src="resources/ios/splash/Default-Landscape-736h.png" width="2208" />
        <splash height="1536" src="resources/ios/splash/Default-Landscape@2x~ipad.png" width="2048" />
        <splash height="2048" src="resources/ios/splash/Default-Landscape@~ipadpro.png" width="2732" />
        <splash height="768" src="resources/ios/splash/Default-Landscape~ipad.png" width="1024" />
        <splash height="2048" src="resources/ios/splash/Default-Portrait@2x~ipad.png" width="1536" />
        <splash height="2732" src="resources/ios/splash/Default-Portrait@~ipadpro.png" width="2048" />
        <splash height="1024" src="resources/ios/splash/Default-Portrait~ipad.png" width="768" />
        <splash height="960" src="resources/ios/splash/Default@2x~iphone.png" width="640" />
        <splash height="480" src="resources/ios/splash/Default~iphone.png" width="320" />
        <icon height="1024" src="resources/ios/icon/icon-1024.png" width="1024" />
        <splash height="2732" src="resources/ios/splash/Default@2x~universal~anyany.png" width="2732" />
        <edit-config file="*-Info.plist" mode="merge" target="NSCameraUsageDescription">
            <string>To share photos on Fitopedia</string>
        </edit-config>
        <edit-config file="*-Info.plist" mode="merge" target="NSPhotoLibraryUsageDescription">
            <string>To share photos on Fitopedia</string>
        </edit-config>
    </platform>
    <preference name="AllowInlineMediaPlayback" value="true" />
    <preference name="webviewbounce" value="false" />
    <preference name="UIWebViewBounce" value="false" />
    <preference name="DisallowOverscroll" value="true" />
    <preference name="android-minSdkVersion" value="16" />
    <preference name="BackupWebStorage" value="none" />
    <preference name="SplashMaintainAspectRatio" value="true" />
    <preference name="FadeSplashScreenDuration" value="300" />
    <preference name="SplashShowOnlyFirstTime" value="false" />
    <preference name="CordovaWebViewEngine" value="CDVWKWebViewEngine" />
    <plugin name="cc.fovea.cordova.purchase" spec="^7.1.0">
        <variable name="BILLING_KEY" value="BLAH" />
    </plugin>
    <feature name="CDVWKWebViewEngine">
        <param name="ios-package" value="CDVWKWebViewEngine" />
    </feature>
    <feature name="StatusBar">
        <param name="ios-package" onload="true" value="CDVStatusBar" />
    </feature>
    <preference name="SplashScreen" value="screen" />
    <preference name="SplashScreenDelay" value="3000" />
    <plugin name="cordova-plugin-camera" spec="^3.0.0">
        <variable name="CAMERA_USAGE_DESCRIPTION" value="To Share Photos on Fitopeida" />
        <variable name="PHOTOLIBRARY_USAGE_DESCRIPTION" value="To Share Photos on Fitopeida" />
    </plugin>
    <plugin name="cordova-plugin-device" spec="^1.1.7" />
    <plugin name="cordova-plugin-facebook4" spec="^1.9.1">
        <variable name="APP_ID" value="1442128302542871" />
        <variable name="APP_NAME" value="Fitopedia" />
    </plugin>
    <plugin name="cordova-plugin-file-transfer" spec="^1.7.0" />
    <plugin name="cordova-plugin-splashscreen" spec="^4.1.0" />
    <plugin name="cordova-plugin-statusbar" spec="^2.3.0" />
    <plugin name="cordova-plugin-whitelist" spec="^1.3.3" />
    <plugin name="cordova-sqlite-storage" spec="^2.1.4" />
    <plugin name="cordova-plugin-x-socialsharing" spec="5.4.1" />
    <plugin name="cordova-plugin-ionic-keyboard" spec="2.1.3" />
    <plugin name="cc.fovea.cordova.purchase" spec="^7.2.6" />
    <plugin name="cordova-plugin-inappbrowser" spec="3.0.0" />
    <plugin name="cordova-plugin-ionic-webview" spec="^3.1.2">
        <variable name="ANDROID_SUPPORT_ANNOTATIONS_VERSION" value="27.+" />
    </plugin>
    <engine name="android" spec="6.4.0" />
    <engine name="ios" spec="4.5.5" />
</widget>


Plugins: 

cc.fovea.cordova.purchase,cordova-plugin-camera,cordova-plugin-device,cordova-plugin-facebook4,cordova-plugin-file,cordova-plugin-file-transfer,cordova-plugin-inappbrowser,cordova-plugin-ionic-keyboard,cordova-plugin-ionic-webview,cordova-plugin-splashscreen,cordova-plugin-statusbar,cordova-plugin-whitelist,cordova-plugin-x-socialsharing,cordova-plugin-youtube-video-player,cordova-sqlite-storage,es6-promise-plugin,ionic-plugin-keyboard

Note everything is fine on IOS. And I think I this is prolly since I moved to ionic-cordova-web-view. Any help is much appreciated.

Posts: 1

Participants: 1

Read full topic

SplashScreenDelay Does Not Work

$
0
0

@meuserca wrote:

The SplashScreenDelay configuration has no effect running app on Android device (Pixel 3 XL). The splash screen displays for a second and the app is launched. I have tried adjusting the value with and without the --prod flag without success:

Ionic:

ionic (Ionic CLI) : 4.10.2 (/usr/local/lib/node_modules/ionic)
Ionic Framework : @ionic/angular 4.0.1
@angular-devkit/build-angular : 0.12.4
@angular-devkit/schematics : 7.2.4
@angular/cli : 7.2.4
@ionic/angular-toolkit : 1.3.0

Cordova:

cordova (Cordova CLI) : 8.0.0
Cordova Platforms : android 7.0.0
Cordova Plugins : cordova-plugin-ionic-keyboard 2.1.3, cordova-plugin-ionic-webview 3.1.2, (and 7 other plugins)

System:

Android SDK Tools : 26.1.1 (/Users/meusercx/Library/Android/sdk)
ios-deploy : 1.9.2
ios-sim : 6.1.2
NodeJS : v9.11.1 (/usr/local/bin/node)
npm : 6.7.0
OS : macOS High Sierra
Xcode : Xcode 10.1 Build version 10B61

Posts: 1

Participants: 1

Read full topic


Error: Failed to fetch platform andriod.....plllzhelpme

$
0
0

@boucherit wrote:

What is the problem with me?
Please

G:\0projetsioni\ionic\websitetoapk\websitetoapk>ionic cordova build android
> ionic-app-scripts build --target cordova --platform android
[19:26:54]  ionic-app-scripts 1.3.12
[19:26:54]  build dev started ...
[19:26:54]  clean started ...
[19:26:54]  clean finished in 11 ms
[19:26:54]  copy started ...
[19:26:54]  transpile started ...
[19:27:01]  transpile finished in 6.88 s
[19:27:01]  preprocess started ...
[19:27:01]  deeplinks started ...
[19:27:01]  deeplinks finished in 19 ms
[19:27:01]  preprocess finished in 24 ms
[19:27:01]  webpack started ...
[19:27:02]  copy finished in 7.57 s
[19:27:19]  webpack finished in 18.12 s
[19:27:19]  sass started ...
[19:27:22]  sass finished in 2.71 s
[19:27:22]  postprocess started ...
[19:27:22]  removed unused font files
[19:27:22]  postprocess finished in 36 ms
[19:27:22]  lint started ...
[19:27:22]  build dev finished in 27.88 s
[19:27:36]  tslint: G:/0projetsioni/ionic/websitetoapk/websitetoapk/src/pages/ho
me/home.ts, line: 2
            'NavController' is declared but never used.

       L1:  import { Component } from '@angular/core';
       L2:  import { NavController ,Platform} from 'ionic-angular';
       L3:  import { InAppBrowser } from '@ionic-native/in-app-browser';

[19:27:36]  tslint: G:/0projetsioni/ionic/websitetoapk/websitetoapk/src/app/app.
component.ts, line: 5
            All imports are unused.

       L4:  import { SplashScreen } from '@ionic-native/splash-screen';
       L5:  import { InAppBrowser } from '@ionic-native/in-app-browser';

[19:27:36]  lint finished in 13.94 s
> cordova build android
cordova-android-support-gradle-release: Android platform: V6
cordova-android-support-gradle-release: No custom version found in config.xml -
using plugin default
cordova-android-support-gradle-release: Android platform: V6
cordova-android-support-gradle-release: No custom version found in config.xml -
using plugin default
ANDROID_HOME=D:\eclipse\adt-bundle-windows-x86-20140702\sdk
JAVA_HOME=C:\Program Files\Java\jdk1.8.0_121
Subproject Path: CordovaLib
Starting a new Gradle Daemon for this build (subsequent builds will be faster).

FAILURE: Build failed with an exception.

* What went wrong:
Unable to start the daemon process.
This problem might be caused by incorrect configuration of the daemon.
For example, an unrecognized jvm option is used.
Please refer to the user guide chapter on the daemon at https://docs.gradle.org/
2.14.1/userguide/gradle_daemon.html
Please read the following process output to find out more:
-----------------------
Error occurred during initialization of VM
Could not reserve enough space for 2097152KB object heap


* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug
option to get more log output.
cmd: Command failed with exit code 1 Error output:
FAILURE: Build failed with an exception.

* What went wrong:
Unable to start the daemon process.
This problem might be caused by incorrect configuration of the daemon.
For example, an unrecognized jvm option is used.
Please refer to the user guide chapter on the daemon at https://docs.gradle.org/
2.14.1/userguide/gradle_daemon.html
Please read the following process output to find out more:
-----------------------
Error occurred during initialization of VM
Could not reserve enough space for 2097152KB object heap


* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug
option to get more log output.
[ERROR] An error occurred while running subprocess cordova.

        cordova build android exited with exit code 1.

        Re-running this command with the --verbose flag may provide more
        information.


G:\0projetsioni\ionic\websitetoapk\websitetoapk>ionic info

Ionic:

   ionic (Ionic CLI)  : 4.10.2 (C:\Users\acer\AppData\Roaming\npm\node_modules\i
onic)
   Ionic Framework    : ionic-angular 3.5.0
   @ionic/app-scripts : 1.3.12

Cordova:

   cordova (Cordova CLI) : 8.1.2 (cordova-lib@8.1.1)
   Cordova Platforms     : android 6.1.2
   Cordova Plugins       : no whitelisted plugins (8 plugins total)

System:

   NodeJS : v6.10.2 (C:\Program Files\nodejs\node.exe)
   npm    : 6.7.0
   OS     : Windows 7

Posts: 1

Participants: 1

Read full topic

Ionic 4 Getting ion-item ID or Assigning id/value to ID

$
0
0

@AmberS wrote:

Hi,

I am trying to find a way to get the id of an ion-item when the item is clicked or assign an id to the ion-item. I want to use the ID to display the correct picture on another page. Therefore, I won’t have to add an extra forty pages to my application.

list-buildings.page. html- this is where I need to assign or get the ID of the item

 <ion-item>
            <img src = "/assets/img/gym.jpg" (click) = "goToFunBuildings()">
            <ion-label color = "light" text-wrap text-right>Campus Gym!</ion-label>
        </ion-item>

funbuildings-page.page.ts- this is where I will be using the ID to display the correct image of the buildings

Posts: 1

Participants: 1

Read full topic

Error when trying using Device plugin ionic 4

Change colors at runtime

$
0
0

@Llarian wrote:

Hi,

I want to enable the user of my app to completely choose the colng of it, store the choice in the options, save them to and load them from storage.

So far this works when I load the settings at startup to a property of a class all pages derive from.
Most components can just bind to that. Problems come up e.g. with the ion-datetime, which has ok-, cancel-button, and currently selected values shown in the primary color.

I can not use sass/css since I can’t apply the user choice at runtime.
Is there any other way than writing my own ion-datetime or derive the existing?

Posts: 1

Participants: 1

Read full topic

Unable to set ion-content height

$
0
0

@meuserca wrote:

I’m want to adjust the the height my ion-content. Width works as expected: however, the height adjustment is ignored.

ion-content {
width: calc(100vw - 50px);
height: calc(100vh - 50px);
}

Can somebody tell me why this doesn’t work?

Posts: 1

Participants: 1

Read full topic

Viewing all 48979 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>