in VueJS

VueJS: Computed Functions

In a previous tutorial we learnt how you can add a message to the page in VueJS by using the handlebars syntax.

{{ message }}

Along with simply outputting data properties on the page you can also add additional logic to the template files when outputting the message, for example if you want to make the message all uppercase you can do this in the template.

{{ message.toUpperCase() }

Upgrade to access all content on Paulund

Members unlock all tutorials and snippets

Access to all downloadable content

Access to code examples before others

Sign Up Now

Already a member? Login here

Subscribe To The Weekly Newsletter

Get weekly updates to your email