Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- "click on a button, do something to an object value and display a result"
- html div
- class: 'validate';
- with: [
- "( html button )
- bePush;
- class: 'incrementButton';
- onClick: (
- ( html jQuery id: 'thisIsMyDiv' ) load
- html: [ :canvas | self counter increment. self renderMyCounterOn: canvas ]
- );"
- with: 'Increment Count'
- ].
- html horizontalRule.
- html div
- id: 'thisIsMyDiv';
- with: [
- self renderMyCounterOn: html.
- ].
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement