javaquery/api/src/test/resources/org/apidesign/bck2brwsr/htmlpage/Knockout.xhtml
author Jaroslav Tulach <jaroslav.tulach@apidesign.org>
Tue, 22 Jan 2013 21:57:27 +0100
branchmodel
changeset 530 3ce069ec3312
child 1787 ea12a3bb4b33
permissions -rw-r--r--
Test to verify Knockout can handle String properties
jaroslav@530
     1
<?xml version="1.0" encoding="UTF-8"?>
jaroslav@530
     2
<!--
jaroslav@530
     3
jaroslav@530
     4
    Back 2 Browser Bytecode Translator
jaroslav@530
     5
    Copyright (C) 2012 Jaroslav Tulach <jaroslav.tulach@apidesign.org>
jaroslav@530
     6
jaroslav@530
     7
    This program is free software: you can redistribute it and/or modify
jaroslav@530
     8
    it under the terms of the GNU General Public License as published by
jaroslav@530
     9
    the Free Software Foundation, version 2 of the License.
jaroslav@530
    10
jaroslav@530
    11
    This program is distributed in the hope that it will be useful,
jaroslav@530
    12
    but WITHOUT ANY WARRANTY; without even the implied warranty of
jaroslav@530
    13
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
jaroslav@530
    14
    GNU General Public License for more details.
jaroslav@530
    15
jaroslav@530
    16
    You should have received a copy of the GNU General Public License
jaroslav@530
    17
    along with this program. Look for COPYING file in the top folder.
jaroslav@530
    18
    If not, see http://opensource.org/licenses/GPL-2.0.
jaroslav@530
    19
jaroslav@530
    20
-->
jaroslav@530
    21
<p>
jaroslav@530
    22
    <h1 data-bind="text: helloMessage">Loading Bck2Brwsr's Hello World...</h1>
jaroslav@530
    23
    Your name: <input id="input" data-bind="value: name, valueUpdate: 'afterkeydown'"></input>
jaroslav@530
    24
    <button id="hello">Say Hello!</button>
jaroslav@530
    25
</p>