var uri = $0 ?? $uri ?? "";
var text = $1 ?? $text ?? uri;
var new = $2 ?? $new ?? false;
var action = new ? "window.open({{uri}});" : "window.location.href={{uri}};";
<button type="button" ctor=("when($this.click) " .. action)> text </button>;| Images 0 | ||
|---|---|---|
| No images to display in the gallery. |
Copyright © 2011 MindTouch, Inc. Powered by
It can easily replace a 'web.link' part
Good candidate for an extension, too