#5 how to use modifiers in vuejs with example | Vuejs Tutorial | Vuejs for beginners

Описание к видео #5 how to use modifiers in vuejs with example | Vuejs Tutorial | Vuejs for beginners

how to use modifiers in vuejs with example | Vuejs Tutorial | Vuejs for beginners

Modifiers:

.stop - call event.stopPropagation().
.prevent - call event.preventDefault().
.capture - add event listener in capture mode.
.self - only trigger handler if event was dispatched from this element.
.{keyCode | keyAlias} - only trigger handler on certain keys.
.native - listen for a native event on the root element of component.
.once - trigger handler at most once.
.left - (2.2.0+) only trigger handler for left button mouse events.
.right - (2.2.0+) only trigger handler for right button mouse events.
.middle - (2.2.0+) only trigger handler for middle button mouse events.
.passive - (2.3.0+) attaches a DOM event with { passive: true }.
Attaches an event listener to the element. The event type is denoted by the argument. The expression can be a method name, an inline statement, or omitted if there are modifiers present.

When used on a normal element, it listens to native DOM events only. When used on a custom element component, it listens to custom events emitted on that child component.

When listening to native DOM events, the method receives the native event as the only argument. If using inline statement, the statement has access to the special $event property:


Vue Webpage Link
https://vuejs.org/v2/api/#v-on


Have a question, Ask here:
https://zarx.biz/forum

GET 1GB FREE WEB STORAGE TODAY, CREATE AN ACCOUNT ON ZARX.BIZ
https://zarx.biz/


This video is only made for educational and entertainment purposes, so please don't mis-use in any way. As well as only follow the instruction, visual or verbal on the video at your own risk, we will not be held responsible for any loss or damage.If you have a complaint about something or find your content is being used incorrectly, PLEASE CONTACT THE BROADCASTER PRIOR TO MAKING A COPYRIGHT CLAIM. Any infringement was not done on purpose and will be rectified to all parties’ satisfaction.


------------------Online Articles to learn---------------------------
How to setup laravel : ---https://zarx.biz/u/8knshtu
Install Node js in shared hosting: https://zarx.biz/u/v9cntju
Install composer in shared hosting: https://zarx.biz/u/kyk158q



---------------------Follow--------------------------------------------

Our Website - https://www.zarx.biz
Forum - https://zarx.biz/forum
Partner- https://www.easybay.org
Our Blog - https://zarx.biz/blog
Our Facebook Page - https://zarx.biz/u/6rgg2f2
Twitter - https://zarx.biz/u/3wos7oj


Subscribe To Support

Комментарии

Информация по комментариям в разработке