项目中使用到别人写的指令,不明白其中的意思
this.scope = {
data:"<",
click:"<"
}
this.replace=true;
this.restrict = "EA";
项目中使用到别人写的指令,不明白其中的意思
this.scope = {
data:"<",
click:"<"
}
this.replace=true;
this.restrict = "EA";
13 回答13.1k 阅读
7 回答2.3k 阅读
3 回答1.4k 阅读✓ 已解决
6 回答1.4k 阅读✓ 已解决
2 回答1.5k 阅读✓ 已解决
3 回答1.5k 阅读✓ 已解决
6 回答1.2k 阅读
表示单向绑定
但是这不是Directive的语法,而是Component的语法