From eecfbb92a7f53ee5f927cf59756231a55fb362e9 Mon Sep 17 00:00:00 2001 From: kukixi Date: Fri, 25 Mar 2022 17:35:39 +0800 Subject: [PATCH] props define match with api Signed-off-by: kukixi --- compiler/components/alphabet_indexer.json | 4 ++-- compiler/components/navigation.json | 2 +- compiler/components/select.json | 2 +- compiler/components/textinput.json | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/compiler/components/alphabet_indexer.json b/compiler/components/alphabet_indexer.json index 1c33581..1566c59 100644 --- a/compiler/components/alphabet_indexer.json +++ b/compiler/components/alphabet_indexer.json @@ -2,7 +2,7 @@ "name": "AlphabetIndexer", "attrs": [ "onSelected", "selectedColor", "popupColor", "selectedBackgroundColor", "popupBackground", "usingPopup", - "selectedFont", "popupFont", "itemSize", "font", "color", "alignStyle", "onRequestPopupData", "onPopupSelected", - "selectedIndex", "popupPosition" + "selectedFont", "popupFont", "itemSize", "font", "color", "alignStyle", "onRequestPopupData", "onPopupSelect", + "selected", "popupPosition", "onSelect" ] } \ No newline at end of file diff --git a/compiler/components/navigation.json b/compiler/components/navigation.json index ecd111e..0caa487 100644 --- a/compiler/components/navigation.json +++ b/compiler/components/navigation.json @@ -1,5 +1,5 @@ { "name": "Navigation", "attrs": ["title", "subTitle", "hideTitleBar", "hideBackButton", "titleMode", "menus", "menuCount", - "toolBar", "hideToolBar", "onTitleModeChanged"] + "toolBar", "hideToolBar", "onTitleModeChange"] } \ No newline at end of file diff --git a/compiler/components/select.json b/compiler/components/select.json index d2f28f7..8962ee6 100644 --- a/compiler/components/select.json +++ b/compiler/components/select.json @@ -1,6 +1,6 @@ { "name":"Select", "attrs":["selected", "value", "font", "fontColor", "selectedOptionBgColor", "selectedOptionFont", - "selectedOptionFontColor", "optionBgColor", "optionFont", "optionFontColor", "onSelected" + "selectedOptionFontColor", "optionBgColor", "optionFont", "optionFontColor", "onSelect" ] } \ No newline at end of file diff --git a/compiler/components/textinput.json b/compiler/components/textinput.json index f5b269a..c3aac58 100644 --- a/compiler/components/textinput.json +++ b/compiler/components/textinput.json @@ -4,6 +4,6 @@ "attrs": [ "type", "placeholderColor", "placeholderFont", "enterKeyType", "caretColor", "maxLength", "onEditChanged", "onSubmit", "onChange", "onCopy", "OnCut", "OnPaste", "fontSize", - "fontColor", "fontStyle", "fontWeight", "fontFamily", "inputFilter" + "fontColor", "fontStyle", "fontWeight", "fontFamily", "inputFilter", "onEditChange", ] } \ No newline at end of file