Tag:event

  • Native component embedded solution in flutter

    Time:2020-7-15

    Absrtact: in the long period of hybrid engineering from native to flutter, it is a good choice to use the more perfect controls in native in flutter in order to smooth the transition. This paper hopes to introduce the use of androidview and the solution of dual end embedded native components based on Android view. […]

  • Vue (1) — monitoring events

    Time:2020-7-15

    1. Vue on: listening events: Demo: click the button, number + 1 V-on can also be abbreviated [email protected]     2. Event modifier .stop: equivalent to in JavaScriptevent.stopPropagation(),Stop bubbling(generally speaking, it is to prevent the event from passing to the upper level DOM element) .prevent: equivalent to in JavaScriptevent.preventDefault()The default event refers to the action […]

  • Solid foundation JavaScript asynchronous programming

    Time:2020-7-14

    Asynchronous programming Asynchronous programming in JavaScript can be said to be the focus of the foundation, but also more difficult to understand. What is asynchronous first? Our code is executed in order from top to bottom. After a piece of code is executed, the next code will be executed. This method is called synchronous execution, […]

  • Real time communication of websocket

    Time:2020-7-13

    1. Understand the websocket mechanismOfficial link of Ruan Yifeng2. Operation processa. Writing interface in the background var socketUrl=”http://192.168.15.77:9997/webSocket/1″; b. Establishing a connection socketUrl=socketUrl.replace(“https”,”ws”).replace(“http”,”ws”); console.log(socketUrl); if(socket!=null){ socket.close(); socket=null; } socket = new WebSocket(socketUrl); //Open event socket.onopen = function() { console.log (“websocket is open”); }; //Get message event socket.onmessage = function(msg) { //Real time message console.log (get […]

  • (14) C ා WinForm custom control – Keyboard (1) – hzhcontrols

    Time:2020-7-11

    Official website http://www.hzhcontrols.com premise Has been in the industry for 7,8 years, has always wanted to do a set of beautiful custom controls, so there is a series of articles. GitHub:https://github.com/kwwwvagaa/NetWinformControl Code cloud: https://gitee.com/kwwwvagaa/net_ winform_ custom_ control.git If you think the writing is OK, please click a star to support it Welcome to discuss: Penguins […]

  • Complete implementation of a promise with class writing method

    Time:2020-7-11

    1. Preface This paper analyzes the understanding of promise features and realizes all functions of promise. Without reference to the original promise writing method, I completed and described it step by step according to the idea. Each building module is composed of: 1. Description of promise features; 2. Complete idea of realizing features (analysis wave); […]

  • WPF: (1) large collection of window related examples

    Time:2020-7-11

    Source project address: https://github.com/Microsoft/…The following is the conversion of the sample into a brief description, and gives the actual operation effect and key code: Custom window Move the controllable size of windowless workspace through thumb control, and drag the form. private void Window_MouseLeftButtonDown(object sender, MouseButtonEventArgs e) { DragMove(); } private void ResizeThumb_DragDelta(object sender, DragDeltaEventArgs e) […]

  • How to do the front end of a large factory? Baidu senior front-end engineer, with you hand written micro front-end framework

    Time:2020-7-11

    preface For core implementation, please skip to section 4: execution process. The commands in this article apply only to shell supported systems such as MAC, Ubuntu, and other Linux distributions. It is not applicable to windows. If you want to execute the commands in this article under windows, please use git command window (GIT needs […]

  • 00009 – layui table click any column of a row to select a new row and cancel the selection of other rows

    Time:2020-7-10

    table : var tableIns = table.render({ elem:’#workTaskLogListTable’ ,url: ctx+’/task/workTaskLog/query’ ,error:admin.error ,cellMinWidth: 80 ,toolbar: ‘#workTaskLogListTable-toolbar’ ,defaultToolbar: [{ Title: ‘conditional filtering’ // Title , layevent: ‘searchdiv’ // event name, used in toolbar events , Icon: ‘layui icon search’ // icon class name }, ‘filter’, ‘print’, ‘exports’] ,cols: [[ {type: ‘checkbox’/*, fixed: ‘left’*/} , {field: ‘content’, Title: ‘log […]

  • (15) C ා WinForm custom control – Keyboard (2) – hzhcontrols

    Time:2020-7-10

    Official website http://www.hzhcontrols.com premise Has been in the industry for 7,8 years, has always wanted to do a set of beautiful custom controls, so there is a series of articles. GitHub:https://github.com/kwwwvagaa/NetWinformControl Code cloud: https://gitee.com/kwwwvagaa/net_ winform_ custom_ control.git If you think the writing is OK, please click a star to support it Welcome to discuss: Penguins […]

  • Wechat applet sharing and forwarding events

    Time:2020-7-9

    “Sharing and forwarding” function of wechat applet1. On page custom sharing2. “…” in the upper right corner of the page Sharing behavior When the event “onshareappmessage” is not added to the page JS, the upper right corner “…” No forward events will occur.If there is an event, but the event content is not defined, the […]

  • 7. Tongge said that the selector of Java NiO core component of netty series

    Time:2020-7-6

    < p align = “right” > — the sun arch dies and comes unexpectedly! </p> Hello, I’m tongge. This is the seventh in the netty series. brief introduction In the last chapter, we learned about buffer, the core component of Java NiO. It is usually used with channel. But how can they be used in […]