remote animation api

Signed-off-by: ustclc <liuchao92@huawei.com>
Change-Id: I0f09b62db9d6b22bf617e890734bf76848647f11
This commit is contained in:
ustclc
2022-05-22 21:52:18 +08:00
parent 35feed01db
commit fe5fe0428e
3 changed files with 15 additions and 2 deletions
+2 -2
View File
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2021 Huawei Device Co., Ltd.
* Copyright (c) 2021-2022 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
@@ -28,7 +28,7 @@ const addTSAttributeSet = ['AlphabetIndexer', 'Animator', 'Badge', 'Blank', 'But
'QRCode', 'Radio', 'Rating', 'Rect', 'Refresh', 'Row', 'RowSplit', 'Scroll', 'ScrollBar', 'Search',
'Select', 'Shape', 'Sheet', 'Slider', 'Span', 'Stack', 'Stepper', 'StepperItem', 'Swiper',
'TabContent', 'Tabs', 'Text', 'TextArea', 'TextClock', 'TextInput', 'TextPicker', 'TextTimer',
'Toggle', 'Video', 'Web', 'XComponent', 'RichText'];
'Toggle', 'Video', 'Web', 'XComponent', 'RichText', 'RemoteWindow'];
generateTargetFile(process.argv[2], process.argv[3]);
function generateTargetFile(filePath, output) {
+7
View File
@@ -0,0 +1,7 @@
{
"name": "RemoteWindow",
"atomic": true,
"attrs": [
"WindowAnimationTarget"
]
}
+6
View File
@@ -62,6 +62,7 @@
"Rating",
"Rect",
"Refresh",
"RemoteWindow",
"Row",
"RowSplit",
"RichText",
@@ -371,6 +372,11 @@
"type": "RefreshAttribute",
"instance": "RefreshInstance"
},
{
"name": "RemoteWindow",
"type": "RemoteWindowAttribute",
"instance": "RemoteWindowInstance"
},
{
"name": "Row",
"type": "RowAttribute",