Learning sencha touch MVC application from scratch

Source: Internet
Author: User

In the current application, you will see the effect shown. We have added some HTML labels in the content, but the effect still looks like a common text effect, to achieve the expected goal, I need to set the viewStylehtmlcontentThe property isTrue. As you can see, the content is cut off and cannot slide down. In order to achieve the scrolling effect, you need to set the vertical scrolling screen flip attribute. below is the relevantCode:

Scroll: 'signature ',
Stylehtmlcontent: True,
Style: 'background: # d8e2ef ',

 

We also added style attributes to the CSS ruler to make the sliding animation of the view better. Now your text content looks much better on the blue background, you can see the scroll effect when you drag the mouse up or down the view or press the scroll up or down button.

So far, this is the second part.

You can download the source code of the current project file (here .)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.