Skip to content

$apply required ? when dynamically updating the v-html='content'  #483

@kvdmolen

Description

@kvdmolen

I am updating the content parameter in v-html='content' which includes Vue-code:
vm.content = '<div v-repeat="someArray">{{someData}}</div>';
with this in the index.html file:
<div v-html="content"></div>
But the result will be:
{{someData}}
Should not the parser be called in this case? (similar to $apply in Angular)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions