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

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>
主站蜘蛛池模板: 湾仔区| 健康| 永新县| 昭平县| 夏河县| 双柏县| 济阳县| 益阳市| 铅山县| 桦川县| 尚志市| 天全县| 昆山市| 墨江| 祁东县| 都昌县| 南雄市| 图木舒克市| 禄丰县| 双江| 原阳县| 沂水县| 双峰县| 灵川县| 呈贡县| 荥阳市| 湘阴县| 亚东县| 石棉县| 来安县| 桑植县| 三河市| 禄丰县| 太和县| 佳木斯市| 洪湖市| 宁陕县| 特克斯县| 江西省| 临沂市| 房山区|