User Tools

Site Tools



This shows you the differences between two versions of the page.

Link to this comparison view

harlowe:click-append [2017/10/09 20:39] (current)
Line 1: Line 1:
 +**(click-append:​ // [[harlowe:​HookName|hookname]] or [[harlowe:​String|String]]//​) -> //​[[harlowe:​Changer|Changer]]//​**
 +A special shorthand combination of the [[harlowe:​click|(click:​)]] and [[harlowe:​append|(append:​)]] macros, this allows you to append
 +text to a hook or [[harlowe:​string|string]] when it's clicked. ''​%%(click:​ ?​1)[(append:?​1)[...]]%%''​
 +can be rewritten as ''​%%(click-append:​ ?​1)[...]%%''​.
 +=== Example usage: ===
 +I have nothing to fear.
 +(click-append:​ "​fear"​)[ but my own hand].
 +=== See also: ===
 +[[harlowe:​click-replace|(click-replace:​)]],​ [[harlowe:​click-prepend|(click-prepend:​)]]
harlowe/click-append.txt ยท Last modified: 2017/10/09 20:39 (external edit)