Sha256: 84e63102bf2869ff180eb17fd6b8d1af7f4d60d3bfc12df2140428002d05be77
Contents?: true
Size: 977 Bytes
Versions: 11
Compression:
Stored size: 977 Bytes
Contents
# ----------------------------------------------------------------------------- # Author: Alexander Kravets <alex@slatestudio.com>, # Slate Studio (http://www.slatestudio.com) # # Coding Guide: # https://github.com/thoughtbot/guides/tree/master/style/coffeescript # ----------------------------------------------------------------------------- # ----------------------------------------------------------------------------- # INPUT PASSWORD # ----------------------------------------------------------------------------- class @InputPassword extends InputString # PRIVATE =============================================== _add_input: -> @$input =$ "<input type='password' name='#{ @name }' value='#{ @value }' />" @$input.on 'keyup', (e) => @$input.trigger('change') @$el.append @$input # PUBLIC ================================================ updateValue: (@value) -> @$input.val(@value) chr.formInputs['password'] = InputPassword
Version data entries
11 entries across 11 versions & 2 rubygems