summaryrefslogtreecommitdiff
path: root/design/widgets/button.tex
diff options
context:
space:
mode:
Diffstat (limited to 'design/widgets/button.tex')
-rw-r--r--design/widgets/button.tex4
1 files changed, 4 insertions, 0 deletions
diff --git a/design/widgets/button.tex b/design/widgets/button.tex
index e2bb00e..b9c2ab1 100644
--- a/design/widgets/button.tex
+++ b/design/widgets/button.tex
@@ -12,3 +12,7 @@ En knap har flg. attributter:
journalen og ``reset'' fjerner alle indtastede data. Hvis udeladt
vil en inaktiv knap blive produceret.
\end{itemize}
+
+\begin{lstlisting}[title={Et eksempel på et button tag.}]
+<button caption="Gem" action="commit"/>
+\end{lstlisting}