이 문서는 https://tiddlywiki.com/languages/ko-KR/에서 티들리위키의 정적 HTML 표현의 일부입니다

ButtonWidget/Example/Actions

2026년 7월 25일 오전 1:53

The actions attribute holds one or more ActionWidgets that run when the button is clicked. This is the preferred way to give a button its behaviour, because the whole behaviour sits in one place instead of being spread over several attributes.

A button runs actions last, after to, message, popup and set. ButtonWidget lists the full order. A single <$button to="HelloThere">Click Me</$button> still needs no action string.

The procedure below runs two actions in a single click:

  • one sets a message
  • the other bumps a counter

Click Greet a few times to watch both update.

titleOutput

Message: (clicked 0 times)