Example UIChatBox module demo

Forum moderator Ma Haochuan thanks for sharing.

UIChatBox chat input module is a box module, the developer may customize the functions of the input box. Interface to open a window in the current frame input through the bottom open, the life of that part of the current frame input window All. When the focus acquisition input box, automatically sprung onto the soft keyboard. Developers can achieve functions similar QQ chat page through the monitoring of input box sprung height from the bottom, to vary the height of the chat dialogue interface. UIChatBox module is an optimized version chatBox module. Documents Address: https://docs.apicloud.com/Client-API/UI-Layout/UIChatBox
module renderings:
Example UIChatBox module demo

Note: face panel buttons and buttons to set parameters, or will not show emotionBtn: {// (optional) JSON objects; face button style; button normalImg expression does not pass will not be displayed: 'widget: //' // ( optional) string type; expression of normal button background image (local route, fs: //, widget: //); default: smiley icon,}, extrasBtn: {// (optional) JSON objects; additional features button style, do not pass the additional function buttons are not displayed normalImg: 'widget: //' // (optional) string type; additional function buttons in the normal background image (local path, fs: //, widget: //) } button transmission parameters on iOS invalid sendBtn // (optional) the JSON an object; send button styles, this parameter send invalid buttons on the keyboard platform iOS
Example UIChatBox module demo

Path (a local path, fs need to configure the parameters when calling open when using the expression emotionPath custom emoticons folder (the folder where the file emoticon, shall also contain a .json profile folder with the same name as the file):: Notes //, widget: //). name value in the json file must face emoticon folder name counterparts. Dot indicator expression of the page you need to set the parameters to open the indicator // (optional) JSON objects; expressions and additional features small dot indicator panel style, if not pass the indicator will not be displayed
Example UIChatBox module demo

Guess you like

Origin blog.51cto.com/9334358/2424590