-
Vue Instance
-
Vue Attribute Binding It dynamically binds an attribute into expressions v-bind:src= {{ expressions }}
- Data can be bound to HTML attributes.
- Syntax is v-bind: or : for short.
- The attribute name that comes after the : specifies the attribute we’re binding data to.
- Inside the attribute’s quotes, we reference the data we’re binding to.
-
Conditional Rendering There are Vue directives to conditionally render elements: v-if v-else-if v-else v-show If whatever is inside the directive’s quotes is truthy, the element will display. You can use expressions inside the directive’s quotes. V-show only toggles visibility, it does not insert or remove the element from the DOM.
-
Classes and Style Binding Data can be bound to an element’s style attribute Data can be bound to an element’s class We can use expressions inside an element’s class binding to evaluate whether a class should appear or not You can bind an entire class object or array of classes to an element
-
Computed Property These are properties on the Vue instance that calculate a value rather than store a value. Computed properties can use data from your app to calculate its values. it is like using calculator we get computed value 2+3 =5 , so Binjita + Baral = Binjita baral
-
Forms and v-model binding We can use the v-model directive to create two-way binding on form elements We can use the .number modifier to tell Vue to cast that value as a number, but there is a bug with it We can use the .prevent event modifier to stop the page from reloading when the form is submitted We can use Vue to do fairly simple custom form validation
-
Tabs
beginner.vue.js's Introduction
beginner.vue.js's People
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.