2017-09-28 2 views

Antwort

1

Sie können dafür Platform.is() verwenden.

import { Platform } from 'ionic-angular'; 

constructor(public platform: Platform) 

public myFunction(){ 
    if(this.platform.is('tablet'){ 
    //execute function 
    } 
} 

Hoffe, das hilft.

Verwandte Themen