Skip to content

Commit

Permalink
Small fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
lahmatiy committed Jul 14, 2022
1 parent c2a9998 commit 6751934
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions src/pages/views-showcase.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,10 @@ The following properties are supported by any view:
The order of evaluation during a view render:
\`\`\`js
render start
| input data | output data (the result of "data" evaluation if any)
\\-> [when] --> [data] --> [whenData] --> [postRender] --> [className] --> render finish
input data | output data (the result of "data" evaluation if any)
|
render start ---> [when] --> [data] -|-> [whenData] --> [postRender] --> [className] --> render finish
|
\`\`\`
When \`data\` property is specified, it changes flow's data according the following rules:
Expand Down
2 changes: 1 addition & 1 deletion src/views/button.usage.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
export default (view, group) => ({
demo: {
view,
onClick: () => alert('Hello world!'),
onClick: Function('return () => alert("Hello world!")')(),
data: {
text: 'Button'
}
Expand Down

0 comments on commit 6751934

Please sign in to comment.