Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit02327cf

Browse files
author
FalkWolsky
committed
Updated Component Plugin Demo
1 parentefa905a commit02327cf

File tree

5 files changed

+1436
-139
lines changed

5 files changed

+1436
-139
lines changed
Binary file not shown.

‎client/packages/lowcoder-plugin-demo/src/HelloWorldComp.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@ import {
99
NameConfig,
1010
eventHandlerControl,
1111
withMethodExposing,
12+
EditorContext,
1213
}from"lowcoder-sdk";
14+
importReact,{useContext}from"react";
1315

1416
importstylesfrom"./styles.module.css";
1517

@@ -58,7 +60,9 @@ const HelloWorldCompBase = new UICompBuilder(childrenMap, (props: any) => {
5860
{children.value.propertyView({label:"Initial Value"})}
5961
{children.step.propertyView({label:"Step"})}
6062
</Section>
61-
<Sectionname="Interaction">{children.onEvent.propertyView()}</Section>
63+
{/* {["layout", "both"].includes(useContext(EditorContext).editorModeStatus) && ( */}
64+
<Sectionname="Interaction">{children.onEvent.propertyView()}</Section>
65+
{/* {[ )} */}
6266
</>
6367
);
6468
})

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp