- Vue.js 2 Web Development Projects
- Guillaume Chau
- 59字
- 2021-07-02 22:34:29
The status bar
The last section we will add to our app is a status bar, displayed at the bottom of the text editor, with some useful info--the date the note was created, with the lines, words, and characters count.
Create a new p element with the toolbar and status-bar classes and place it after the textarea element:
<!-- Main pane --> <section class="main"> <p class="toolbar"> <!-- ... --> </p> <textarea v-model="selectedNote.content"></textarea> <p class="toolbar status-bar"> <!-- The new status bar here! --> </p> </section>
推薦閱讀
- JavaScript:Functional Programming for JavaScript Developers
- Practical UX Design
- 算法大爆炸:面試通關(guān)步步為營(yíng)
- HTML5游戲開(kāi)發(fā)案例教程
- C/C++常用算法手冊(cè)(第3版)
- Learning AndEngine
- Python完全自學(xué)教程
- Symfony2 Essentials
- 微信小程序全棧開(kāi)發(fā)技術(shù)與實(shí)戰(zhàn)(微課版)
- 深入淺出React和Redux
- 動(dòng)手學(xué)數(shù)據(jù)結(jié)構(gòu)與算法
- 好好學(xué)Java:從零基礎(chǔ)到項(xiàng)目實(shí)戰(zhàn)
- Zabbix Performance Tuning
- Scratch從入門(mén)到精通
- UML軟件建模