iOS: implement NestedSlider slidePosition

This commit is contained in:
pengfei.zhou
2023-04-04 20:28:31 +08:00
committed by osborn
parent 18d5050c7a
commit 91d5d016f9
13 changed files with 64 additions and 12 deletions

View File

@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import { Group, View, Property } from '../ui/view'
import { Group, View, Property, InconsistProperty } from '../ui/view'
import { BridgeContext } from '../runtime/global'
@@ -35,6 +35,9 @@ export class NestedSlider extends Group {
@Property
scrollsToTop?: boolean
@InconsistProperty
slidePosition?: number
addSlideItem(view: View) {
this.addChild(view)
}