summaryrefslogtreecommitdiffstats
path: root/documentation/components/components-button.asciidoc
diff options
context:
space:
mode:
Diffstat (limited to 'documentation/components/components-button.asciidoc')
-rw-r--r--documentation/components/components-button.asciidoc6
1 files changed, 6 insertions, 0 deletions
diff --git a/documentation/components/components-button.asciidoc b/documentation/components/components-button.asciidoc
index 93eddfe845..59ab380348 100644
--- a/documentation/components/components-button.asciidoc
+++ b/documentation/components/components-button.asciidoc
@@ -7,6 +7,12 @@ layout: page
[[components.button]]
= [classname]#Button#
+ifdef::web[]
+[.sampler]
+image:{live-demo-image}[alt="Live Demo", link="http://demo.vaadin.com/sampler/#ui/interaction/button"]
+endif::web[]
+
+
The [classname]#Button# component is normally used for initiating some action,
such as finalizing input in forms. When the user clicks a button, a
[classname]#Button.ClickEvent# is fired, which can be handled with a