JavaScript (Day 5) [flow control statement], javascript statement
The ECMA-262 specifies a set of flow control statements. A statement defines the main syntax in ECMAScript. A statement generally uses one or more keywords to complete a given task.
HTML5 drag event notes and html5 drag events
In HTML5 specifications, you can add 'draggable = "true" 'to the element to determine whether the element can be dragged. Images and links are enabled by default.1. Drag element: the 'draggable = "true" '
HTML5 Drag and Drop, html5dragDrag and drop is an integral part of the HTML5 standard.
Drag the w3cschool icon to the rectangle.
Drag and Drop
Drag and Drop is a common feature, that is, to drag an object to another position after it is captured.
Html5 Method for arousing apps and html5 Method for arousing apps
H5 is common in arousing app requirements. In the era where mobile is king, h5 plays an important role in app diversion.
Currently, url scheme (supported by iOS and Android platforms)
Basic bootstrap layout and bootstrap LayoutChinese APIbootstrap.cn HTML5 document type mobile devices give priority to the width attribute to control the width of the device. Set it to device-width to ensure that it is correctly displayed on
Mobile phone End-to-province/city linkage, end-to-province/city Linkage
The plug-in used is LArea.
Usage
Var area1 = new LArea (); area1.init ({'trigger': '# txt_area', // trigger the Selection control text box,
Front-end technology,Js: 1. prototype and prototype chain 2. closure 3. es6 has knowledge, and es6 4. and amd的5.5.html rendering processes (parse html and build dom tree, rendering tree (renderobject, renderlayer), layout (render), graph (panit) 6.
Examples of HTML5 form automatic verification and html5 form instance code
In HTML5, while adding a large number of form elements and attributes, It also adds a large number of functions to verify the content validity of the newly added elements in
H5 local storage and H5 Storage
They can store: array json data image script style files;
The client stores two:
1. localStorage data storage with no time limit ()
Methods include:. localStrage. getItem (); localStrage. setItem (); removeItem ();
Angular-command, angular
Angular command.
Ng-init: Initialize data
Use the = symbol in the property value as the variable value, separated by users, and cannot use var
Ng-app: Enable angular application mode. Only one page can appear
Three. js particle effect (based on CPU and GPU respectively), three. js particle cpu
Some time ago, I made a comparison between CPU and GPU, and the particle effect was lost in the group learning WebGL. I didn't give much technical explanation.
HTML5 + CSS3 simulates Youku's video function example, html5css3
For Videos uploaded by users, a video website can display the video after the user uploads the video. This feature can also be introduced in the project to provide a good user
Introduction to the progress bar of video and audio tags in Html5; Introduction to html5
Recently, Html5 video and audio tags were used in the project to play video and audio files online. However, the progress bar is invalid after playing the video
In HTML5, the method for determining the portrait of a landscape screen (mobile terminal) is html5.
We often encounter horizontal and vertical screen problems on mobile terminals. How should we judge or write different codes for horizontal and
Html5 Web SQL Database, html5database
The Web SQL Database API is not included in the html5 specification. It is an independent specification and introduces an API that uses SQL to operate the client Database. All modern browsers support this API.
CSS3 column-rule-style attribute, columnrulestyle
The CSS column-rule-style attribute is used to specify the style of the delimiter set between columns through the column rule attribute in a multi-column layout.column-ruleA vertical separator line
The front-end is unknown
The front-end is already playing bad! Like console. it is no longer news that log () can output images and other cool things to the console, such as using the | Operator to assign default values to variables, today, I saw a
Article 7. Form and Article 7 Form
Bootstrap provides three forms: vertical forms, inline forms, and horizontal forms.
Create a vertical or basic form:
· Add to the parent elementRole = "form".
· Place tags and controls in a class. Form-groupIn .
Seven CSS units that you may not know, css units
If you are a front-end development engineer, px and em are usually used frequently. However, the focus of this article today is to introduce some units that we seldom use or even hear about.I. Review
HTML5 event methods and html5 events
The following table lists the standard event attributes that can be inserted into HTML 5 elements to define event behavior.
Window Event properties-Window Event Attributes
Form event-Form Events
Keyboard
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service