Added integer ui element.
This commit is contained in:
parent
20bce3118c
commit
e9dc5a3ea0
1 changed files with 6 additions and 0 deletions
|
@ -0,0 +1,6 @@
|
||||||
|
# coffeelint: disable=camel_case_classes
|
||||||
|
class App.UiElement.integer
|
||||||
|
@render: (attribute) ->
|
||||||
|
attribute.type = 'number'
|
||||||
|
attribute.step = '1'
|
||||||
|
$( App.view('generic/input')( attribute: attribute ) )
|
Loading…
Reference in a new issue