<my-component></my-component> <script type="module"> import { defineComponent, reactive, html, onMounted, onUpdated, onUnmounted } from 'https://unpkg.com/@vue/lit' defineComponent('my-component', () => { const state = reactive({ text: 'hello', show: true }) const toggle = () => { state.show = !state.show } const onInput = e => { state.text = e.target.value } return () => html` <button @click=${to
Component compilation scope change When a component is used in a parent template, e.g.: <div v-component v-show="active" v-on="click:onClick"> <p>{{message}}</p> </div> The directives (v-show and v-on) and the transclusion content ({{message}}) will now be compiled in the parent's scope. That means the value of active, onClick and message will be resolved against the parent. Any directives/interpo
0.11.0-rc yyx990803 released this Sep 26, 2014 · 724 commits to master since this release This is a release candidate for 0.11.0. Changes https://github.com/yyx990803/vue/blob/0.11.0-rc/changes.md Installation npm install vue@0.11.0-rc component install vue@0.11.0-rc bower install vue#0.11.0-rc standalone build
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く