Ionic is currently the most promising HTML5 mobile application development framework. Build applications through SASS, which provides many UI components to help developers develop powerful applications. It uses the JavaScript MVVM framework and AngularJS to enhance applications. Provides two-way binding of data, and using it becomes a common choice for web and mobile developers.
ionic features
1.ionic is based on Angular grammar and is easy to learn. [3]
2.ionic is a lightweight framework.
3.ionic perfectly integrates the next generation mobile framework, supports the features of Angularjs, MVVM, and easy to maintain.
4.ionic provides a beautiful design to build applications through SASS. It provides many UI components to help developers develop powerful applications.
5.ionic focuses on native, so you can't see the difference between mixed applications and native
6.ionic provides powerful command line tools.
7.ionic has excellent performance and fast running speed.
As the most popular framework at present, IONIC will also encounter various strange problems during the development process, such as the following:
Problem description:
There is a button at the bottom of the page. Clicking this button will display some additional data. At this time, the page will exceed and the scrolling effect is required. The same scene has the problem of infinate effect of ion-list, but occasionally there will be problems such as not being able to scroll. Drag your finger up, and then bounce back to the original position after release. The bottom data is never seen. This is because the ionic view does not recalculate the new height.
Solution
We need to apply a scrolling proxy to ionic, called $ionicScrollDelegate, and we need to inject this proxy when using it.
this.$timeout(() => {this.$ionicScrollDelegate.resize();},410);As mentioned above, there is a method in the proxy called resize(), which is to recalculate the height. I added a timeout to ensure that the data is rendered normally and then resize.
The above is the solution to the problem that the bottom of the IONIC page is blocked and cannot scroll upwards that the editor introduces. I hope it will be helpful to everyone. If you have any questions, please leave me a message and the editor will reply to everyone in time. Thank you very much for your support to Wulin.com website!