!3918 补充文本类组件json

Merge pull request !3918 from zhounie/master_1108
This commit is contained in:
openharmony_ci 2024-11-09 13:25:16 +00:00 committed by Gitee
commit 08ffa75522
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
11 changed files with 32 additions and 11 deletions

View File

@ -3,6 +3,6 @@
"children": ["Span", "ImageSpan"],
"parents": ["Text"],
"attrs": [
"textBackgroundStyle"
"textBackgroundStyle", "attributeModifier"
]
}

View File

@ -3,6 +3,6 @@
"parents": ["Text", "ContainerSpan"],
"atomic": true,
"attrs": [
"verticalAlign", "objectFit", "textBackgroundStyle"
"verticalAlign", "objectFit", "textBackgroundStyle", "alt", "colorFilter", "onComplete", "onError"
]
}

View File

@ -3,6 +3,6 @@
"atomic": true,
"attrs": [
"fontColor", "fontSize", "allowScale", "fontWeight", "fontFamily", "onStart",
"onBounce", "onFinish"
"onBounce", "onFinish", "marqueeUpdateStrategy", "onStart", "onBounce", "onFinish"
]
}

View File

@ -40,6 +40,11 @@
"onWillInsert",
"onDidInsert",
"onWillDelete",
"onDidDelete"
"onDidDelete",
"enableHapticFeedback",
"constructor",
"caretPosition",
"setTextSelection",
"stopEditing"
]
}

View File

@ -4,6 +4,6 @@
"atomic": true,
"attrs": [
"fontColor", "fontSize", "fontStyle", "fontFamily", "fontWeight", "decoration", "letterSpacing",
"textCase","font", "textBackgroundStyle"
"textCase","font", "textBackgroundStyle", "lineHeight", "textShadow", "baselineOffset"
]
}

View File

@ -2,5 +2,5 @@
"name": "SymbolSpan",
"parents": ["Text"],
"atomic": true,
"attrs": ["fontSize", "fontColor", "fontWeight", "effectStrategy", "renderingStrategy"]
"attrs": ["fontSize", "fontColor", "fontWeight", "effectStrategy", "renderingStrategy", "attributeModifier"]
}

View File

@ -1,5 +1,5 @@
{
"name": "SymbolGlyph",
"atomic": true,
"attrs": ["fontSize", "fontColor", "fontWeight", "effectStrategy", "renderingStrategy"]
"attrs": ["fontSize", "fontColor", "fontWeight", "effectStrategy", "renderingStrategy", "symbolEffect"]
}

View File

@ -4,6 +4,10 @@
"attrs": [
"fontColor", "fontSize", "fontStyle", "fontWeight", "textAlign", "lineHeight", "textOverflow",
"maxLines", "decoration", "letterSpacing", "textCase", "baselineOffset", "minFontSize",
"maxFontSize", "copyOption", "textIndent","font"
"maxFontSize", "copyOption", "textIndent","font", "fontFamily", "textShadow", "heightAdaptivePolicy",
"wordBreak", "selection", "ellipsisMode", "enableDataDetector", "dataDetectorConfig", "bindSelectionMenu",
"fontFeature", "lineSpacing", "privacySensitive", "lineBreakStrategy", "textSelectable", "editMenuOptions",
"minFontScale", "maxFontScale", "halfLeading", "enableHapticFeedback", "caretColor", "selectedBackgroundColor",
"onCopy", "onTextSelectionChange", "closeSelectionMenu", "setStyledString", "getLayoutManager"
]
}

View File

@ -52,6 +52,11 @@
"textIndent",
"caretStyle",
"selectedBackgroundColor",
"enableAutoFill"
"enableAutoFill",
"enableHapticFeedback",
"constructor",
"caretPosition",
"setTextSelection",
"stopEditing"
]
}

View File

@ -64,6 +64,13 @@
"onSecurityStateChange",
"textOverflow",
"textIndent",
"fontFeature"
"fontFeature",
"enableHapticFeedback",
"cancelButton",
"constructor",
"caretPosition",
"setTextSelection",
"stopEditing",
"keepEditableState"
]
}

View File

@ -4,6 +4,6 @@
"attrs": [
"fontColor", "fontSize", "minFontSize", "maxFontSize", "fontStyle", "fontWeight",
"fontFamily", "textAlign", "lineHeight", "textOverflow", "maxLines", "decoration",
"letterSpacing", "textCase", "baselineOffset", "copyOption"
"letterSpacing", "textCase", "baselineOffset", "copyOption", "fontFamily"
]
}