pat icon indicating copy to clipboard operation
pat copied to clipboard

pat是一个轻量级的指令型模板解决方案。具备局部刷新,双向绑定,指令扩展,filter过滤等功能。

Results 8 pat issues
Sort by recently updated
recently updated
newest added

必须从html标签字符串最前面开始匹配tag,因为有时候html属性中还有html标签,例如 ```html ``` 虽然是不符合预期的,但可能被用户使用

增强匹配html标签的兼容性,形如 不是预期的,但是是可能被用户导入的

对不规则的html(例如没有成对的标签)进行修正,增强兼容性 形如 ```html asdf ``` 在浏览器里是会被处理为下面这样,不需要抛出错误,可以兼容。 ```html asdf ```

Uncaught TypeError: Cannot read property 'push' of undefined 这个错误应该是bug吧? 不知道是不是使用了webpack的问题导致 ![image](https://user-images.githubusercontent.com/12960884/34029989-21bb8400-e1a6-11e7-90fe-3eab4a0a1089.png) ![image](https://user-images.githubusercontent.com/12960884/34029975-0fb3fd6e-e1a6-11e7-90bc-fe4eacbbf5be.png)

问题一: 当使用datetimepicker时 `$(".creat-time").datetimepicker({ format: 'YYYY/MM', viewMode: 'years' });` 双向绑定是失效的。 当我将其更新后,双向绑定还是失效的 `$(".creat-time").datetimepicker({ format: 'YYYY/MM', viewMode: 'years' }).on("dp.change", function (e) { var thistime = $(this).val(); p.$data.companyCreationTime = thistime });` 问题二: 比如现在模板里 ``...

是否像way.js那样有个方法可以实时监听输入框的值,比如 [http://gwendall.github.io/way/](http://gwendall.github.io/way/) ,改变输入框时拿到新的数据。