# svelma-pro
时间选择器

# Timepicker

## 时间选择器

Codesandbox

    <script>
    import {Timepicker} from 'svelma-pro'
    </script>

    <Timepicker bind:time />

## API

Name | Description | Type | Values | Default
--- | --- | --- | --- | ---
`i18n` | 多语言 | String | 'EN'、'ZH' | `'ZH'`
`hour12` | 12小时制 | Boolean | true、false | `false`
`time` | 绑定时间 | DateObject | — | ``
`width` | 宽度 | Sting | px,%,rem | `300px`
`align` | 位置 | Sting | 'left'、'center'、'right' | `left`
`icon` | 图标 | Boolean | — | `true`
`inputClass` | 输入框样式类 | String | — | ``

## EVENT

Name | Parameters | Description
--- | --- | ---
`timeChecked` | — | 选定事件