链式语法

2017-05-17  本文已影响26人  swweaper5

masonry里面自动布局使用的.top().bottom();就是链式语法

实现方法:

调用方法如下:
self.stepOne().stepOne();

上一篇下一篇

猜你喜欢

热点阅读