Skip to content

Commit

Permalink
Merge pull request #1868 from misakuo/example-demo-input
Browse files Browse the repository at this point in the history
* [example] update the input demo
  • Loading branch information
kfeagle authored Dec 12, 2016
2 parents d3727d8 + ffa167c commit f06020b
Showing 1 changed file with 5 additions and 11 deletions.
16 changes: 5 additions & 11 deletions examples/component/input-demo.we
Original file line number Diff line number Diff line change
Expand Up @@ -80,24 +80,18 @@
</wxc-panel>

<wxc-panel title="function focus() & blur()" type="primary">
<div style="flex-direction: row;margin-bottom: 16px;justify-content: space-between">
<wxc-button value="Focus" type="primary" onclick="{{focus}}"></wxc-button>
<wxc-button value="Blur" type="primary" onclick="{{blur}}"></wxc-button>
</div>

<input
type="text"
placeholder="Input1"
class="input"
value=""
id="input1"
/>

<input
type="text"
class="input"
placeholder="Input2"
value=""
/>
<div style="flex-direction: row;margin-top: 16px;justify-content: space-between">
<wxc-button value="Focus" type="primary" onclick="{{focus}}"></wxc-button>
<wxc-button value="Blur" type="primary" onclick="{{blur}}"></wxc-button>
</div>
</wxc-panel>
</scroller>
</div>
Expand Down

0 comments on commit f06020b

Please sign in to comment.