Skip to content

Commit

Permalink
formatting and fixed html errors
Browse files Browse the repository at this point in the history
  • Loading branch information
pennyfx committed Nov 15, 2012
1 parent 9fb7933 commit c103bf0
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 39 deletions.
4 changes: 2 additions & 2 deletions actionbar/README.md
Expand Up @@ -23,7 +23,7 @@ The actionbar allows you to create a tool bar of actions. You can also use grou
label="Advanced"
icon="demo/more-actions.png">
</x-action>
<x-actionbar group="1">
</x-actionbar>
```


Expand All @@ -41,7 +41,7 @@ The actionbar allows you to create a tool bar of actions. You can also use grou
label="Refresh"
icon="demo/refresh.png">
</x-action>
<x-actionbar group="1">
</x-actionbar>

## Events
Command events are fired each time an action is clicked or pressed.
Expand Down
75 changes: 38 additions & 37 deletions actionbar/demo/demo.html
Expand Up @@ -20,43 +20,44 @@
<body>

<x-actionbar group="1">
<x-action
group="1 2"
command="new-content"
label="New"
icon="plus.png">
</x-action>
<x-action
group="1 2"
command="refresh-content"
label="Refresh"
icon="refresh.png">
</x-action>
<x-action
group="1 2"
command="gridify-content"
label="Grid"
icon="grid.png">
</x-action>
<x-action
group="2"
command="action-4"
label="4th Action"
icon="grid.png">
</x-action>
<x-action
group="2"
command="action-5"
label="5th Action"
icon="grid.png">
</x-action>
<x-action
group="1 2"
label="Advanced"
command="more"
icon="more-actions.png">
</x-action>
</x-actionbar>
<x-action
group="1 2"
command="new-content"
label="New"
icon="plus.png">
</x-action>
<x-action
group="1 2"
command="refresh-content"
label="Refresh"
icon="refresh.png">
</x-action>
<x-action
group="1 2"
command="gridify-content"
label="Grid"
icon="grid.png">
</x-action>
<x-action
group="2"
command="action-4"
label="4th Action"
icon="grid.png">
</x-action>
<x-action
group="2"
command="action-5"
label="5th Action"
icon="grid.png">
</x-action>
<x-action
group="1 2"
label="Advanced"
command="more"
icon="more-actions.png">
</x-action>
</x-actionbar>

</body>

<script type="text/javascript">
Expand Down

0 comments on commit c103bf0

Please sign in to comment.