2016-01-13 33 views

回答

0

您可以在模板中使用此鍵。 例如:

<div ng-class="::to.horizontal ? to.horizontal : ''">