Programmer MinJun
Published in

Programmer MinJun

TDI(Vue.js)

Directive:

v-bind:

We can’t use a expression in html attribute like <a href=”{{ link }}”> .

Instead we have to use v-bind directive

ex)<a v-bind:href=”link”> and also we can rewrite this as <a :href=”link”>

v-once:

After render, the value doesn’t change.

Use to guarantee immutability.

v-html:

Use to Insert HTML Code.

v-on:

Can abbreviate v-on:click=”onClick” ===> @click=”onClick”

click, dbclick, mousemove(triggered when mouse is on the component + mouse moves)

(Event Modifier)

keyup.keyValue

--

--

--

Record of daily ideas, Personal Projects, TDI

Recommended from Medium

How to use React Router in your React js project.

Audio Visualizer with P5-JS Library

Sort 0 and 1 — Two pointer problem

Make Your First API Call with JQuery AJAX

Start Javascript Learning As early as possible

Use SASS in React js

I Coded My CV in ReactJS 🚀

Clean Code with ESLint

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
MINJUN PARK

MINJUN PARK

Who Loves Programming

More from Medium

Avoid using `loadByProperties` to load entities

How to add fontawesome icons to Vuejs

Best Chat-API Alternative for your business

Change ApplicationVersion for a .NET MAUI in Github Action