阅读背景:

单元测试角度指令更新ngModel

来源:互联网 

I'm trying to test a directive that I've written to validate an input and I have some trouble. The input managed by the directive should contain a valid hex color value and if the user modifies it with an invalid value, I want to cancel this modification. My directive is the following and is working as expected:I'm trying to test a directive that I've writte




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: