以下の内容はhttps://anton0825.hatenablog.com/entry/2015/12/05/000000より取得しました。


Angular directiveのlink関数の引数の型

以下の型でよい。

link: function(scope: IMyDirectiveScope , elem: JQuery, attributes: ng.IAttributes, ngModel: ng.INgModelController)

scopeの型だけangularのbuiltin型でない。scopeの型は自分で定義した方がいいのかなぁ。。めんどいからつい型をIScopeにして、anyにcastしてしまう。

参考:




以上の内容はhttps://anton0825.hatenablog.com/entry/2015/12/05/000000より取得しました。
このページはhttp://font.textar.tv/のウェブフォントを使用してます

不具合報告/要望等はこちらへお願いします。
モバイルやる夫Viewer Ver0.14