Skip to content

Commit 3ad1300

Browse files
Update README.md
1 parent 5a5ea52 commit 3ad1300

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

python/README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,12 @@ def index():
1717

1818
form = WebForms()
1919

20-
form.SetFontSize(InputPlace.Tag('form'), font_size)
21-
form.SetBackgroundColor(InputPlace.Tag('form'), background_color)
22-
form.SetDisabled(InputPlace.Name('btn_SetBodyValue'), True)
20+
form.set_font_size(InputPlace.tag('form'), font_size)
21+
form.set_background_color(InputPlace.tag('form'), background_color)
22+
form.set_disabled(InputPlace.name('btn_SetBodyValue'), True)
2323

24-
form.AddTag(InputPlace.Tag('form'), 'h3')
25-
form.SetText(InputPlace.Tag('h3'), f"Welcome {name}!")
24+
form.add_tag(InputPlace.tag('form'), 'h3')
25+
form.set_text(InputPlace.tag('h3'), f"Welcome {name}!")
2626

2727
return form.response()
2828

0 commit comments

Comments
 (0)