8000 Feature request: Angular2 like class and style property binding [class.property]="expresion" · Issue #4956 · vuejs/vue · GitHub
[go: up one dir, main page]

Skip to content
Feature request: Angular2 like class and style property binding [class.property]="expresion" #4956
Closed
@wszerad

Description

@wszerad

Example

v-bind:class.class-name="expression"
//is equivalent to
v-bind:class="{'class-name': expression}"

More about:
https://scotch.io/tutorials/angular-2-classes-with-ngclass-and-ngstyle#using-the-styleproperty-binding

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0