官术网_书友最值得收藏!

The note toolbar with extras inside

Some features are still missing from our app, such as deleting or renaming the selected note. We will add these in a new toolbar, just above the note text editor. Go ahead and create a new p element with the toolbar class ;inside the main section:

<!-- Main pane -->
<section class="main">
  <p class="toolbar">
    <!-- Our toolbar is here! -->
  </p>
  <textarea v-model="selectedNote.content"></textarea>
</p>

We will add three new features in this toolbar:

  • Renaming the note
  • Deleting the note
  • Marking the note as favorite
主站蜘蛛池模板: 凤冈县| 瑞昌市| 榆中县| 宁夏| 永福县| 崇州市| 随州市| 连江县| 佛学| 清涧县| 南宁市| 滁州市| 罗城| 麻城市| 三河市| 新兴县| 江华| 平远县| 建宁县| 建湖县| 九龙县| 河间市| 长沙市| 防城港市| 滕州市| 错那县| 山西省| 晋江市| 黄冈市| 光山县| 喜德县| 衡东县| 崇仁县| 巴东县| 两当县| 武功县| 祥云县| 潞西市| 沁阳市| 吉林省| 弥勒县|