使用时show.bind,元素保留在页面中,并且通过使用场景display:none或display:block在场景后隐藏或可见。
export class MyViewModel { isVisible = false; }
<template> <div show.bind="isVisible"><strong>I can be both hidden or visible, but not at the same time</strong></div> </template>
友情链接: json在线解析 通晓查询 糯晒黄历 姓名打分