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

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>
主站蜘蛛池模板: 娄烦县| 丰宁| 璧山县| 饶阳县| 义马市| 灵宝市| 仁寿县| 措美县| 平江县| 柳林县| 保德县| 兴和县| 稷山县| 昌黎县| 廉江市| 通山县| 四川省| 安图县| 共和县| 唐河县| 长寿区| 三台县| 英德市| 乐业县| 碌曲县| 扎赉特旗| 昭苏县| 长白| 屯昌县| 叙永县| 清徐县| 嘉义市| 禄劝| 临城县| 邯郸县| 揭西县| 稷山县| 绥滨县| 海口市| 潼关县| 邹城市|