alibaba / alibaba/lowcode-engine

JSSlot如何获取父组件的属性值

Open
#2,743 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
15.9k
Forks
2.7k
PR merge metrics
No merged PRs in 30d

Description

![image](https://github.com/alibaba/lowcode-engine/assets/50707708/c5d2fbf1-66de-4a93-bc89-96c081101598)
组件的children是一个JSSlot,如果通过jsslot的params参数给jsslot中的子组件传递属性值

Contributor guide

No contributing guide indexed for this repository

Research direction

No files, tests, or entry points are identified. Start by tracing how JSSlot params pass values to child components and how parent component properties are represented, then determine the intended parent-to-slot data flow. Done should mean that the requested parent property can be accessed by the JSSlot child through a documented, tested behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.