当前位置:网站首页>[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 .
边栏推荐
- 教你白嫖Amazon rds一年并搭建MySQL云数据库(只需10分钟,真香)
- Global and Chinese market of wireless charging magnetic discs 2022-2028: Research Report on technology, participants, trends, market size and share
- Global and Chinese market of picture archiving and communication system (PACS) 2022-2028: Research Report on technology, participants, trends, market size and share
- Tensorflow tensor convolution, input and convolution kernel dimension understanding
- [eight sorts ④] merge sort, sort not based on comparison (count sort, cardinal sort, bucket sort)
- Iclr2022 | spherenet and g-spherenet: autoregressive flow model for 3D molecular graph representation and molecular geometry generation
- gradle
- 【图像增强】基于Frangi滤波器实现血管图像增强附matlab代码
- King combat power query renamed toolbox applet source code - with traffic main incentive advertisement
- Slf4j print abnormal stack information
猜你喜欢

Viewing and modifying volume group attributes of Aix storage management (II)

Basis of deep learning neural network

The concept and application of Cartland number

Creation of volume group for AIX storage management (I)

ACM教程 - 快速排序(常规 + 尾递归 + 随机基准数)

Principle of finding combinatorial number and template code

【八大排序④】归并排序、不基于比较的排序(计数排序、基数排序、桶排序)
![[leetcode] number of maximum consecutive ones](/img/70/7f3d1c8e0ab2698d98220cca911209.png)
[leetcode] number of maximum consecutive ones

MySQL application day02

Iclr2022 | spherenet and g-spherenet: autoregressive flow model for 3D molecular graph representation and molecular geometry generation
随机推荐
Minimize the error
Geek DIY open source solution sharing - digital amplitude frequency equalization power amplifier design (practical embedded electronic design works, comprehensive practice of software and hardware)
【八大排序②】选择排序(选择排序,堆排序)
Friends circle community program source code sharing
Since I understand the idea of dynamic planning, I have opened the door to a new world
站在新的角度来看待产业互联网,并且去寻求产业互联网的正确方式和方法
SSO single sign on implementation.
ECS project deployment
Cookie, session, tooken
Global and Chinese markets for supply chain strategy and operation consulting 2022-2028: Research Report on technology, participants, trends, market size and share
CTF daily question day45 sensor
Load and domcontentloaded in JS
[image enhancement] vascular image enhancement based on frangi filter with matlab code
Iclr2022 | spherenet and g-spherenet: autoregressive flow model for 3D molecular graph representation and molecular geometry generation
Docker installing Oracle_ 11g
Global and Chinese markets of digital crosspoint switches and mux/demux 2022-2028: Research Report on technology, participants, trends, market size and share
AIX存储管理之总结篇
AIX存储管理之卷组属性的查看和修改(二)
Principle of finding combinatorial number and template code
Otaku wallpaper Daquan wechat applet source code - with dynamic wallpaper to support a variety of traffic owners