diff options
Diffstat (limited to 'src/components/push-button')
| -rw-r--r-- | src/components/push-button/push-button.less | 1 | ||||
| -rw-r--r-- | src/components/push-button/push-button.tag | 13 |
2 files changed, 14 insertions, 0 deletions
diff --git a/src/components/push-button/push-button.less b/src/components/push-button/push-button.less new file mode 100644 index 0000000..488fc37 --- /dev/null +++ b/src/components/push-button/push-button.less @@ -0,0 +1 @@ +@import "../../style.less";
\ No newline at end of file diff --git a/src/components/push-button/push-button.tag b/src/components/push-button/push-button.tag new file mode 100644 index 0000000..2d24c88 --- /dev/null +++ b/src/components/push-button/push-button.tag @@ -0,0 +1,13 @@ +<push-button> + <button onclick={ click }>Click me!</button> + + <style type="less"> + @import "./push-button"; + </style> + + <script> + click() { + clicker.trigger('click'); + } + </script> +</push-button>
\ No newline at end of file |
