HPGrowingTextView
多行/自动调整大小的UITextView与SMS应用程序中的类似。 该示例项目模仿了Apple的SMS应用程序的外观。
特性
int maxNumberOfLines; // Stops growing at this amount of lines.
int minNumberOfLines; // Starts growing at this amount of lines.
int maxHeight; // Specify the maximum h
Impetus.js
为任何事物增添动力。 就像iScroll一样,只是不进行滚动。 支持鼠标和触摸事件。
在查看演示。
除简单的动力外,动力可能永远不会支持任何其他手段。 如果您需要滚动或触摸轮播或类似工具,则可能不是您要找的工具。
用法
var myImpetus = new Impetus ( {
source : myNode ,
update : function ( x , y ) {
// whatever you want to do wit