Experience in application development ivx learning and inform global cues

We need to give today is to share experiences on how to use ivx create a notification, the notification is suspended appears in the corner of the page, display the global notification alert messages, commonly used in: more complex content of the notification; notification to interact with a given user the next step of action points; the system automatically push. I still use the official website for everyone to analyze:
1. We first analyze the overall structure of this demo:
Experience in application development ivx learning and inform global cues
This demo structure is very simple, only a button triggering event used, and as a notification banner, the banner is a special assembly the positioning tool, which may be in a fixed position on the page without scrolling with page scrolling.
2. The first component is created to meet the demand, which is a notice to trigger display button, and display banner notification at the top of the trigger, and then created under the banner he or she wants content of the notice on the line, here are the contents of this press their needs change, and the other to pay attention to remember the former first preview banner to hide, because there is no time to announce the beginning of the trigger is not displayed.
Experience in application development ivx learning and inform global cues
3. where we took a look at the buttons to trigger notification of this event
Experience in application development ivx learning and inform global cues
because we put all the contents of advertisements pop banner below, so let notice display banner displays pop just to let on the line, set the delay here to allow users to see the changes, so that when pop shows and then click on when there will be re-displayed visual effect, this arrangement is often applied to the login button password is case of error notice.

In addition we need to give is to share experiences on how to use ivx create a global cues, similar to the global announcement notification, but the information content commonly used in prompts the user feedback, and the prompt will be automatically disappear after a time delay, and generally can not be interact with it. I still use the official website for everyone to analyze:
1. We first analyze the overall structure of this demo:
Experience in application development ivx learning and inform global cues
Experience in application development ivx learning and inform global cues
This demo structure is very simple, only a button triggering event used, and as a global prompt banner, the banner is a component special positioning tool, which may be in a fixed position on the page without scrolling with page scrolling.
2. The first component is created to meet the demand, which is used to trigger a global prompt display button to display the banner at the top of the global prompt and after the trigger, and then want to create their own content prompts on the line under the banner, where the content is can change according to their needs, in addition to pay attention to remember before the first preview banner to hide, because the beginning did not trigger a global prompt is not displayed.
Experience in application development ivx learning and inform global cues
3. where we took a look at this global cues trigger button event
Experience in application development ivx learning and inform global cues
because we put all the content on global cues pop banner below, so let notice display banner displays pop just to let on the line, here in Hide while setting the delay, and can be seen from Figure 2, when the global banner advertisement displayed, the button will shutter, so that the display time of 1 second, the user can not trigger this button again, the force used to warn Tip of the scene, such as suggesting that the phone number is registered when the phone verification registration.

Summary: Global prompt notification have much in common and there are different places, mainly after notification display is not hidden, and will prompt global, and global prompts can not immediately trigger button is displayed, and you can notice. They may be more suitable for the role in a different environment, it is necessary to skillfully use according to these two characteristics. The share has also brought hope to give you help.

Guess you like

Origin blog.51cto.com/14556317/2479479