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

Hiding the More button

Once theAboutsection has been expanded, we want to hide theMorebutton as it's no longer needed. We can use thev-ifdirective to achieve this in conjunction with thecontractedproperty.

index.html:

<button v-if="contracted" class="more" v-on:click="contracted = false">
+ More
</button>
主站蜘蛛池模板: 灌云县| 阳高县| 五原县| 古蔺县| 盐津县| 新源县| 东港市| 响水县| 塔河县| 芜湖县| 西乌珠穆沁旗| 普格县| 西盟| 府谷县| 贵溪市| 安平县| 中方县| 塔城市| 彰武县| 湘潭县| 保亭| 正阳县| 离岛区| 云梦县| 小金县| 论坛| 尉氏县| 榆林市| 灵武市| 北宁市| 固安县| 铅山县| 象山县| 璧山县| 巴青县| 当雄县| 西和县| 绥中县| 伊金霍洛旗| 乐清市| 襄垣县|