angular2-nativescript

    1熱度

    2回答

    我想在NativeScript中實現一個使用pod和pod的插件,它具有以下方法。 // basic usage [self.view makeToast:@"This is a piece of toast."]; // toast with a specific duration and position [self.view makeToast:@"This is a piece o

    0熱度

    1回答

    插件問題是:https://github.com/sean-perkins/nativescript-opentok/tree/delegate-exploration。如果你使用npm安裝並將版本版本設置爲1.4.4,你將得到這個bug的最新測試版本。 插件遇到兩個問題: 起初,新構造函數聲明樣式{N}無法識別,所以我要回退的老派Class.alloc().initWith聲明風格。我相信這實際

    1熱度

    1回答

    我試圖讓這個工作,但它只給我下面的錯誤。我爲nativescript-groceries應用程序做了幾乎相同的事情,但angular2-seed-advanced具有不同的體系結構,似乎是nativescript與種子項目和telerik-ui之間的依賴注入問題。 任何幫助表示讚賞: EXCEPTION: Error in /data/data/com.yourdomain.appname/fil

    1熱度

    1回答

    使用標籤上的點擊事件和按鈕組件之間的性能有一些差異。 讓我們舉例來說,這nativescript的Hello World應用 https://github.com/NativeScript/template-hello-world ,尤其是這段代碼 <Page xmlns="http://schemas.nativescript.org/tns.xsd" navigatingTo="onNavig

    1熱度

    2回答

    雙向綁定不起作用。我剛開始學習,也許我錯過了一些非常基本的東西,謝謝你看看和迴應。 詳情下: package.json { "name": "agaminsstart", "main": "app.js", "version": "1.0.0", "author": "[email protected]", "description":

    1熱度

    1回答

    我收到了Angular2教程的下列錯誤。 TNS醫生好,那麼爲什麼會出現下面的錯誤? 'tns livesync ios --emulator --watch Executing before-prepare hook from /Users//Documents/frontend/sample-Groceries/hooks/before-prepare/nativescript-dev-ty

    0熱度

    2回答

    我一直有一個可怕的時間讓本地腳本與正式版本的角2一起工作。我沒有很好的問題,但是本地腳本是一個不同的故事。 NativeScript爲什麼我的Hello World會工作?我什麼也沒看見。 感謝 首頁: import {Component} from "@angular/core"; import { Router } from "@angular/router"; @Component({

    0熱度

    1回答

    如何在不打開相機活動的情況下訪問nativescript中的相機? 我用下面的代碼,但它是打開設備相機應用程序。我期待它應該在不打開相機的情況下拍攝照片,或者在應用程序本身中添加相機視圖,例如whatsapp網絡掃描。 import cameraModule = require("camera"); import imageModule = require("ui/image"); camer

    -1熱度

    1回答

    Nativescript應用程序:我正在創建Dinamy TextFields。 1)問題 - 當我點擊dinamicly生成的文本字段時,鍵盤顯示爲毫秒和消失。當我點擊非常快的幾次然後鍵盤停留。 2)如何在動態生成的TextField上進行onChange/onBlur事件?就像當我更新textField時,我需要調用一個方法。 這是當前的列表: (模糊)不工作: <StackLayout co

    0熱度

    1回答

    我正在嘗試使用Nativescript + NG2創建基於Apple Map(MapKit)的應用程序,我不知道如何在模板中包含地圖。我已經在Nativescript-JS應用程序中嘗試過plugin,但它在NS + NG2中不起作用。 我試着像下面那樣創建MapViewEl,並且不顯示任何錯誤或地圖。 declare var MKMapView: any; declare var UIScre