Tag:interpolation

  • About browser side canvas hit region API and structured graphics

    Time:2021-11-23

    The original plan was that the quality project simulated DOM on canvas to write applications,Your own implementation will lose a lot of DOM benefits, and it is beyond your grasp, but focus on improving several aspects: Each element has its own life cycle, which is easy to bind animation and generate gradients with parallax and […]

  • On $interpolate service 1 of angularjs

    Time:2021-11-2

    Official API for $interpolate $interpolate Compile a statement with embedded tags, and then return an interpolation function,This service is also used by the HTML $compile service for data binding. Embedded tags can be configured with $interpolateprovider. rely on $parse $sce use $interpolate(text, [mustHaveExpression], [trustedContext], [allOrNothing]) parameter text[string]String to be compiled mustHaveExpression[boolean]If the value of this […]

  • C# 10 complete feature introduction

    Time:2021-10-16

    preface At the beginning, the basic library, language and runtime team of. Net have always been updated independently of each other. Net 6 has also made many improvements in the basic library and runtime, but this article only introduces the language part. It has been some time since the last introduction of the features of […]

  • Learning D3 introduction document: Animation

    Time:2021-9-30

    Introduction FollowLearn D3: ShapesThe sixth part is only an English translation. The modifiable part of the code is replaced by static pictures. If you want real-time interaction, please read the original text. Original text:Learn D3: Animation Version: Published Mar 24, 2020 Origin My GitHub text Unlike graphics drawn on paper, computer graphics do not have […]

  • Angular Scouts: $watch() and $observe()

    Time:2021-9-27

    Because I didn’t know how to use these two methods, I spent some time to understand them; Write down something. If you forget when, it’s easier to find it. First, let’s talk about their two usage scenarios: $watch() $watch()yesangularupperscopeObject. In any controller, but not recommended incontrollerUsed in$watch(); Because it makestestandmaintainIt becomes very difficult. In any […]

  • Vue basic introduction note 07: filter

    Time:2021-9-16

    Vue basic introduction notes 07 Filters are used for formatting common text in two places interpolation V-bind expression <!DOCTYPE html> <html lang=”en”> <head> <meta charset=”UTF-8″> <meta name=”viewport” content=”width=device-width, initial-scale=1.0″> <meta http-equiv=”X-UA-Compatible” content=”ie=edge”> <title>Document</title> <script src=”https://cdn.jsdelivr.net/npm/vue”></script> <link rel=”stylesheet” href=”https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css” integrity=”sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u” crossorigin=”anonymous”> </head> <body> <div id=”app”> <p>{{msg | msgFormat(‘a’,’b’)}}</p> </div> <script> //Define global filters //Filters can pass […]

  • Vue basic introductory notes 01: Vue basic code, interpolation expression, v-on, v-bind

    Time:2021-9-15

    Vue learning notes Differences between Vue and MVVM Vue basic code <!DOCTYPE html> <html lang=”en”> <head> <meta charset=”UTF-8″> <meta name=”viewport” content=”width=device-width, initial-scale=1.0″> <meta http-equiv=”X-UA-Compatible” content=”ie=edge”> <title>Document</title> <script src=”https://cdn.jsdelivr.net/npm/vue”></script> </head> <body> <div id=”app”> <p>{{msg}}</p> </div> <script> var vm = new Vue({ el :’#app’, data:{ msg :’hello wold’ } }) </script> </body> </html> Interpolation expression Solving the […]

  • Vue template syntax

    Time:2021-9-15

    Introduction to Vue You Yuxi: founder of vue.js In February 2014, vue.js was officially released On October 27, 2015, 1.0.0 was officially released On April 27, 2016, a preview version of 2.0 was released Vue: progressive JavaScript framework Declarative rendering → component system → client routing → centralized state management → project construction Advantages of […]

  • Vue Basics (I): overview and basic use of Vue

    Time:2021-8-30

    1. Vue overview 1.1 what is Vue? Vue (pronunciation / vju) ː/, Similar to view) is a progressive framework for building user interfaces. Vue’s core library only focuses on view layers, which is not only easy to start, but also easy to integrate with third-party libraries or existing projects. 1.2 downloading Vue Download address:https://cn.vuejs.org/v2/guide/installation.html   […]

  • Vue Basics (II): template syntax (I)

    Time:2021-8-29

    1. Template syntax 1.1 template syntax overview Vue.js uses an HTML based template syntax that allows developers to declaratively bind the DOM to the data of the underlying Vue instance. All vue.js templates are legal HTML, so they can be parsed by standard browsers and HTML parsers. In the underlying implementation, Vue compiles the template […]

  • ECMAScript new features

    Time:2021-8-8

    What can you learn from this article Relationship between JavaScript and ECMAScript Let, const and block level scope deconstruction String extension Numerical extension Extension of function Array extension Object extension Proxy Reflect Promise Class class Set,Map Symbol for…of.. Iterable interface Generator Relationship between JavaScript and ECMAScript ES is also a scripting language, which is usually […]

  • Notes and extensions of unity3d action game development practice 2.1

    Time:2021-7-29

    2.1.1. Use coprocessing to decompose complex logicProcessing asynchronous tasks with a coroutine: when you encounter some program requirements that need asynchronous processing, you can use a coroutine to implement themAdvantages of using CO process: simple and easy to implementExample: using coprocessor instead of finite state machine (some modifications and comments are added based on the […]