Get the App
SLTechnology News&Howtos  ›  Development  › 

What is messenger?

Shulou Source: shulou.com Published: 2022-06-02 15:43:08 10月01日 Update

This article mainly introduces "what is messenger". In daily operation, I believe many people have doubts about what messenger is. The editor consulted all kinds of materials and sorted out simple and easy-to-use methods of operation. I hope it will be helpful for you to answer the doubts about "what is messenger?" Next, please follow the editor to study!

For the use of Messenger pop-up windows, messenger relies on jquery and Backbone.js, and can be perfectly integrated with Bootstrap, but Bootstrap is not required.

The use of Messenger pop-up window

1. First of all, you need to reference the css file, one is the global css file, namely messenger.css, and the other is the theme style file messenger-theme-future.css.

two。 Introduce the js file, like css, one is the global js, namely messenger.min.js, and the other is the theme style js,messenger-theme-future.js

3. After the file is introduced, start to configure the theme of the pop-up window and where it appears on the page

There are four themes to choose from and six locations to choose from in the pop-up box.

Future corresponds to messenger-theme-future.css

Block corresponds to messenger-theme-block.css

Air corresponds to messenger-theme-air.css

Ice corresponds to messenger-theme-ice.css

How to call the interface of messenger

$.globalMessenger () .post ({

Message: "an error has occurred. Please try again later!"

HideAfter:3

Type:'error'

ShowCloseButton:true

})

At this point, the study of "what is messenger" is over. I hope to be able to solve your doubts. The collocation of theory and practice can better help you learn, go and try it! If you want to continue to learn more related knowledge, please continue to follow the website, the editor will continue to work hard to bring you more practical articles!

Tags: Files topics learning global more styles help practical next bits locations interfaces articles methods theory knowledge later articles websites materials Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Shulou Technology MariaDB Linux Microsoft Xiaomi