This commit is contained in:
syuilo 2018-02-24 03:05:50 +09:00
parent cf1f2562d7
commit 7c2fce1f77

View file

@ -33,7 +33,7 @@
<option value="tips">ヒント</option>
</select>
<button @click="addWidget">追加</button>
<p>移動するにはをドラッグします削除するにはxをタップします</p>
<p><a @click="hint">カスタマイズのヒント</a></p>
</header>
<x-draggable
:list="widgets"
@ -152,6 +152,9 @@ export default Vue.extend({
document.title = 'Misskey';
}
},
hint() {
alert('ウィジェットを追加/削除したり並べ替えたりできます。ウィジェットを移動するには「三」をドラッグします。ウィジェットを削除するには「x」をタップします。いくつかのウィジェットはタップすることで表示を変更できます。');
},
widgetFunc(id) {
const w = this.$refs[id][0];
if (w.func) w.func();