1

controllerAs指定されていない場合、Angular ディレクティブ定義のデフォルトは何ですか?

4

1 に答える 1

1

単体テストはcontrollerAs、ディレクティブ定義オブジェクト (ddo)のデフォルトの動作を次のように記述します。

it('should throw noident when missing controller identifier')

it('should throw noident when missing controllerAs directive property')

参考文献

于 2016-01-26T05:11:01.520 に答える