LoginSignup
2
0

More than 5 years have passed since last update.

Knockout.js + Material Design Lite で調べたこと

Posted at

KnockoutJS+MDLでハイブリッドアプリ開発〜apkファイル作成にあたって調べたことメモ。

動的IDを振りたい

Dynamic ID in KnockoutJS code block

MDLが動作しない

下記+mdl.jsの読み込みを末尾で行う。
双方向データバインディングjsフレームワークでmaterial-design-liteを使用する方法

var observer = new MutationObserver(function(mutations) {
        var upgrade = false;

        for (var i = 0; i < mutations.length; i++) {
            if (mutations[i].addedNodes.length > 0) {
                upgrade = true;
                break;
            } 
        }
        if (upgrade) {
            // If there is at least a new element, upgrade the DOM.
            // Note: upgrading elements one by one seems to insert bugs in MDL 
            window.componentHandler.upgradeDom();
        }
    });
observer.observe(document, {
    childList : true,
    subtree : true
});

Material Design Lite with ReactJS

Knockout.jsとMDLを組み合わせたsample

KnockoutJS and MDL

Cordova 任意のemulatorを選択する

Can I select a particular Android Device Emulator from AVD using Apache Cordova?

cordova emulate --target=your-emulator android

Cordova でAndroidリリース用apkの作成

Cordova で Android リリースビルドして Google Play リリース用 apk を作る方法

zipalign のパス通す

Android sdkのパスが通っているのに、zipalign not foundが発生する

apkファイルはDropbox使うとインストールが便利

Dropboxを使って、Androidアプリをいとも簡単にインストールする方法

apkファイル インストール方法いろいろ

apkファイルをAndroid端末(実機)にインストールする方法

2
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
0