Skip to content

Instantly share code, notes, and snippets.

@Aqua-Ye
Created March 10, 2012 12:39
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Aqua-Ye/2011322 to your computer and use it in GitHub Desktop.
Save Aqua-Ye/2011322 to your computer and use it in GitHub Desktop.
Opa Bootstrap v1.4.0 with JS syntax : Button
import stdlib.themes.bootstrap.v1.4.0
import stdlib.widgets.bootstrap
function start() {
my_button = WBootstrap.Button.make(
{button:<>Hello</>, callback:ignore}, [{primary}]
)
<h1>Hello</h1> <+>
my_button
}
Server.start(Server.http, {title: "Bootstrap", page: start})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment