Binding to Objects . We can pass an object to :class (short for v-bind:class ) to dynamically toggle classes: ... <!-- MyComponent template using $attrs --> <p : ...
確定! 回上一頁