当前位置:网站首页>[IVX junior engineer training course 10 papers to get certificates] 09 chat room production
[IVX junior engineer training course 10 papers to get certificates] 09 chat room production
2022-07-02 01:14:00 【1_ bit】
Catalog
【iVX Junior engineer training course 10 Textual evidence 】01 understand iVX Complete the New Year greeting card
【iVX Junior engineer training course 10 Textual evidence 】02 Numerical binding and adaptive website production
【iVX Junior engineer training course 10 Textual evidence 】03 Events and guessing numbers games
【iVX Junior engineer training course 10 Textual evidence 】04 Canvas and me iVX Group photo
【iVX Junior engineer training course 10 Textual evidence 】05 Canvas and aircraft war game production
【iVX Junior engineer training course 10 Textual evidence 】06 Database and services
【iVX Junior engineer training course 10 Textual evidence 】07 08 News page making
【iVX Junior engineer training course 10 Textual evidence 】09 Chat room production
For high score promotion, please check the column :
iVX Beginner to master
Big talk IVX From actual combat to mastery
One 、 link
stay iVX Make one in Many people / Single person Instant messaging is simple , Next, take a multiplayer chat room as an example , Introduce the practice of chat room .
iVX Creating a multiplayer chat room requires a link component :
Through this component, the production of chat room can be completed .
Two 、 Chat is production
2.1 Page drawing
The page drawing object tree and its page examples are as follows :
page 1:
The chat room :
2.2 Page drawing
First of all, we are on the page 1 in , Click to enter the chat room and record the text in the input box , And store the text value in a variable , Then jump to the page :
Then when the chat page displays , Need to give a display event , This event uses the connection component as the action object , Level current user information , After the grade is successful, you can manually enter a room ID, Finally, after creating or adding a room , To assign to ID The room sends a message , Message column names can be defined by themselves :
Then give the link an event , When any message is received , Use an array of objects “ Information variables ” Store received room messages , The message content value will pop up automatically by clicking the input box ; When the information content is stored , Use a variable “ Combined variables ”, Format the content twice , And finally add the formatted content to the end of the value information set object array :
It should be noted here that these object arrays receive content values corresponding to their receiving format , These object array column names are as follows :
next , Use the loop to traverse the contents of the information set object array :
The text created by the loop needs data binding :
Finally, add an event to the send button :
Finally, the chat room can be made .
边栏推荐
- Global and Chinese markets for freight and logistics 2022-2028: Research Report on technology, participants, trends, market size and share
- Recommend an online interface mock tool usemock
- How to reflect and solve the problem of bird flight? Why are planes afraid of birds?
- Docker安装Oracle_11g
- Sql--- related transactions
- No converter found for return value of type: class
- Friends circle community program source code sharing
- CEPH buffer yyds dry inventory
- [leetcode] number of maximum consecutive ones
- Recently, three articles in the nature sub Journal of protein and its omics knowledge map have solved the core problems of biology
猜你喜欢
Entrepreneurship is a little risky. Read the data and do a business analysis
【八大排序④】归并排序、不基于比较的排序(计数排序、基数排序、桶排序)
You probably haven't noticed the very important testing strategy in your work
SAP ui5 beginner tutorial XXI - trial version of custom formatter of SAP ui5
I'll teach you to visit Amazon RDS for a year and build a MySQL cloud database (only 10 minutes, really fragrant)
Powerful calendar wechat applet source code - support the main mode of doing more traffic
JMeter做接口测试,如何提取登录Cookie
GL Studio 5 安装与体验
Minimize the error
【八大排序②】选择排序(选择排序,堆排序)
随机推荐
ECS project deployment
Error creating bean with name ‘stringRedisTemplate‘ defined in class path re
[image enhancement] vascular image enhancement based on frangi filter with matlab code
Based on Simulink and FlightGear, the dynamic control of multi rotor UAV in equilibrium is modeled and simulated
UDS bootloader of s32kxxx bootloader
Keepalived introduction and installation
Han Zhichao: real time risk control practice of eBay based on graph neural network
Basis of deep learning neural network
How to extract login cookies when JMeter performs interface testing
Global and Chinese market of wireless chipsets 2022-2028: Research Report on technology, participants, trends, market size and share
首场“移动云杯”空宣会,期待与开发者一起共创算网新世界!
About asp Net core uses a small detail of datetime date type parameter
Circular statements in shell programming
969 interlaced string
Creating logical volumes and viewing and modifying attributes for AIX storage management
Global and Chinese market of picture archiving and communication system (PACS) 2022-2028: Research Report on technology, participants, trends, market size and share
Just using the way and method of consuming the Internet to land and practice the industrial Internet will not bring long-term development
笔者更加愿意将产业互联网看成是一个比消费互联网要丰富得多的概念
Excel search and reference function
站在新的角度来看待产业互联网,并且去寻求产业互联网的正确方式和方法