プレビュー

ここまでの入力

パネルの中のどれでもクリックすると選べます。新しいブロックは選択中のものの中に入ります。

def initial():
    return {"count": 0}

def view(state):
    return vstack([
        text("Count: " + str(state["count"]), size=22, weight="bold"),
        hstack([
            button("-", set={"count": state["count"] - 1}),
            button("+", set={"count": state["count"] + 1}),
        ]),
        button("Insert", insert=str(state["count"]), style="primary"),
    ])
iPhone に移す
  1. .clinkpanel ファイルをダウンロードします。iPhone では「ファイル」に入ります。
  2. それを開きます。Clink は新しい id で保存するので、同じものを2回読み込んでも最初のものは上書きされません。
  3. Clink でオンにし、キーボードから開きます。

ここにあるものはブラウザの外に出ません。ファイルはこの端末で作られ、その一部たりともどこかへ送られることはありません。

パネル ›