diff --git a/misc/wx/wxml.go b/misc/wx/wxml.go index 71692f60..35790744 100644 --- a/misc/wx/wxml.go +++ b/misc/wx/wxml.go @@ -25,13 +25,14 @@ func init() { "class", code.FUNCTION, "type", code.FUNCTION, "open-type", code.FUNCTION, - "name", code.FUNCTION, "size", code.FUNCTION, + "name", code.FUNCTION, "value", code.FUNCTION, - "placeholder", code.FUNCTION, "range", code.FUNCTION, + "placeholder", code.FUNCTION, "is", code.FUNCTION, "data", code.FUNCTION, + "nodes", code.FUNCTION, "wx:if", code.FUNCTION, "wx:elif", code.FUNCTION, "wx:else", code.FUNCTION, @@ -40,11 +41,13 @@ func init() { "wx:for-index", code.FUNCTION, "wx:key", code.FUNCTION, "bindtap", code.FUNCTION, - "bindinput", code.FUNCTION, "bindchange", code.FUNCTION, - "onblur", code.FUNCTION, + "bindinput", code.FUNCTION, + "bindblur", code.FUNCTION, "data-name", code.FUNCTION, "data-item", code.FUNCTION, + "data-index", code.FUNCTION, + "data-order", code.FUNCTION, ), )), ice.Actions{ code.TEMPLATE: {Hand: func(m *ice.Message, arg ...string) {