Ionic Mobile Development Performance tuning-removing animations

Source: Internet
Author: User
  1. <ion-refresher></ion-refresher>

The Ion-refresher directive has the following optional properties:

  • On-refresh-executes this expression when the user pulls down enough distance and releases
  • On-pulling-executes this expression when the user starts to pull down
  • Pulling-text-Displays this text when the user pulls down
  • Pulling-icon-Displays this icon when the user pulls down
  • Refreshing-icon-The wait icon that appears when the user pulls down and releases. Ionic recommends using spinner instead of this attribute
  • Spinner-the same as Refreshing-icon, but spinner is an SVG-based animation
  • Disable-pulling-rotation-Disable the drop-down icon to rotate the animation

Note After the refresh is complete, the framework should be notified using the $broadcast () method of the scope:

$scope. $broadcast("Scoll.refreshcomplete")

Ionic Mobile Development Performance tuning-removing animations

Related Article

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.