Translations:OOUI/Creating interfaces programmatically/28/en

The following example demonstrates how to create and append a simple $1 that, when clicked, will open “$2” in a new window.