Category:HTML5

  • Uni-app development experience sharing seventeen: developing WeChat official account (H5) JSSDK usage

    Time:2021-4-20

    Because this jssdk has been cheated by the uni app for many days, the author said that it supports version 1.4, but I have not supported the two new sharing methods of version 1.4. Finally, I had to give up and look forward to updating it. Basic usage:Step 1 – Download usageDownload address: https://unpkg.com/[email protected]/out/index.js Project […]

  • uni – App development experience sharing seventeen: developing WeChat official account (H5) JSSDK usage

    Time:2021-4-20

    Because this jssdk has been cheated by the uni app for many days, the author said that it supports version 1.4, but I have not supported the two new sharing methods of version 1.4. Finally, I had to give up and look forward to updating it. Basic usage:Step 1 – Download usageDownload address: HTTPS :// […]

  • Using PostMessage to transfer data between two web pages in HTML5

    Time:2021-4-20

    It is estimated that few people know that there is one in HTML5 APIs window.postMessage API。 window.postMessage The function of is to allow programmers to send data information between two windows / frames across domains. Basically, it’s like cross domain Ajax, but instead of interacting between the browser and the server, it communicates between two […]

  • A brief introduction to various JavaScript parsers

    Time:2021-4-19

    Author:sea All kinds of JS parsers are the cornerstone of front-end engineering. It can be said that without it, many engineering can not be executed normally. Behind the Babel, webpack, eslint and typescript that we use every day, we need a set of corresponding JS parsers. Today, let’s take a look at the common parsers […]

  • The usage of header tag in HTML5

    Time:2021-4-19

    The < header > tag defines the header of a document, usually some guidance and navigation information. It is not limited to writing in the head of the page, but also in the content of the page.In the new standard, the header tag is defined as follows: “A group of introductory or navigational aids.”The basic […]

  • The detailed use of V-model in vue3. X

    Time:2021-4-18

    1. When used to customize components, the prop and default event name of V-model are changed, and the model option is removed //Parent component Bound value: {message}} //Subcomponents export default { //2. X usage, you can modify the prop and trigger the event name, model to discard // model: { //Prop: ‘value’, // the default […]

  • HTML5 canvas basic drawing: drawing Pentagram

    Time:2021-4-18

    <canvas></canvas>It is a new tag added in HTML5 for drawing graphics. In fact, like other tags, this tag is special in that it can obtain a canvasrenderingcontext2d object, which can be controlled by JavaScript script for drawing. <canvas></canvas>It’s just a container for drawing graphics. In addition to ID, class, style and other attributes, there are […]

  • Drawing line of HTML5 canvas basic drawing

    Time:2021-4-17

    <canvas></canvas>It is a new tag added in HTML5 for drawing graphics. In fact, like other tags, this tag is special in that it can obtain a canvasrenderingcontext2d object, which can be controlled by JavaScript script for drawing. <canvas></canvas>It’s just a container for drawing graphics. In addition to ID, class, style and other attributes, there are […]

  • Canvas — a summary

    Time:2021-4-16

    1、 What is canvas? The canvas element of HTML5 uses JavaScript to draw images on Web pages; Canvas is a rectangular area, which can control every pixel; Canvas has many ways to draw paths, rectangles, circles, characters and add images Application of canvas—It is mainly data visualization   2、 Basic drawing experience of canvas Create […]

  • The implementation of fill pattern in HTML5 canvas basic drawing

    Time:2021-4-16

    <canvas></canvas>It is a new tag added in HTML5 for drawing graphics. In fact, like other tags, this tag is special in that it can obtain a canvasrenderingcontext2d object, which can be controlled by JavaScript script for drawing. <canvas></canvas>It’s just a container for drawing graphics. In addition to ID, class, style and other attributes, there are […]

  • Canvas — Summary 2

    Time:2021-4-15

    Canvas drawing Rectangle drawing Rect (x, y, W, H) has no independent path Stroke Rect (x, y, W, H) has independent path, which does not affect other drawing FillRect (x, y, W, H) has independent path, which does not affect other drawing Clearrect (x, y, W, H) the rectangular area to be erased   Arc […]

  • Graphics transformation of HTML5 canvas basic drawing

    Time:2021-4-15

    <canvas></canvas>It is a new tag added in HTML5 for drawing graphics. In fact, like other tags, this tag is special in that it can obtain a canvasrenderingcontext2d object, which can be controlled by JavaScript script for drawing. <canvas></canvas>It’s just a container for drawing graphics. In addition to ID, class, style and other attributes, there are […]