# HG changeset patch # User Tomas Zeman # Date 1446729949 -3600 # Node ID ce213f7aeb2acddc23cce225bb2ba10737f948c2 # Parent 7cb556a1fee63bfd8430c270e8631d536f82c2d1 Angular uiSelect tags diff -r 7cb556a1fee6 -r ce213f7aeb2a shared/src/main/scala/ngTags.scala --- a/shared/src/main/scala/ngTags.scala Thu Nov 05 12:02:30 2015 +0100 +++ b/shared/src/main/scala/ngTags.scala Thu Nov 05 14:25:49 2015 +0100 @@ -24,6 +24,7 @@ val ngAlert = "alert".tag val ngApp: Attr = "ng-app".attr + def ngBindHtml(safe: String) = "ng-bind-html".attr:=safe def ngChange(expr: String) = "ng-change".attr:=expr def ngClick(expr: String) = "ng-click".attr:=expr val ngCloak = "ng-cloak".tag @@ -45,4 +46,14 @@ val translateAttr = "translate".attr } +object uiSelect { + val uiSelect = "ui-select".tag + val uiSelectMatch = "ui-select-match".tag + val uiSelectChoices = "ui-select-choices".tag + def theme(t: String) = "theme".attr:=t + def repeat(n: String, col: String) = "repeat".attr:=s"$n in $col" + def onSelect(fun: String) = "on-select".attr:=fun + def onRemove(fun: String) = "on-remove".attr:=fun +} + // vim: set ts=2 sw=2 et: