# ng-element-ui
**Repository Path**: tv1898/ng-element-ui
## Basic Information
- **Project Name**: ng-element-ui
- **Description**: angular11+的饿了么UI组件
- **Primary Language**: JavaScript
- **License**: Not specified
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2020-12-27
- **Last Updated**: 2021-01-02
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
# 简介
此项目还未测试完,还在更新中。先不要拉代码
# Button 按钮

```
默认按钮
主要按钮
成功按钮
信息按钮
警告按钮
危险按钮
朴素按钮
主要按钮
成功按钮
信息按钮
警告按钮
危险按钮
圆角按钮
主要按钮
成功按钮
信息按钮
警告按钮
危险按钮
文字按钮
加载中
默认按钮
中等按钮
小型按钮
超小按钮
默认按钮
中等按钮
小型按钮
超小按钮
```
### Attributes
|参数 |说明 |类型 |可选值 |默认值|
|--------|-----------------|--------|---------------------------------------------|-------|
|size |尺寸 |string| medium / small / mini| —|
|type |类型 |string |primary / success / warning / danger / info / text |—|
|plain |是否朴素按钮 |boolean| —| false|
|round |是否圆角按钮 |boolean| — |false|
|circle |是否圆形按钮 |boolean| — |false|
|loading |是否加载中状态 |boolean| — |false|
|disabled |是否禁用状态 |boolean| — |false|
|icon |图标类名 |string |—| —|
|autofocus| 是否默认聚焦 |boolean| —| false|
|native-type| 原生 type 属性| string| button / submit / reset |button|
## Development server
Run `ng serve` for a dev server. Navigate to `http://localhost:4200/`. The app will automatically reload if you change any of the source files.
## Code scaffolding
Run `ng generate component component-name` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module`.
## Build
Run `ng build` to build the project. The build artifacts will be stored in the `dist/` directory. Use the `--prod` flag for a production build.
## Running unit tests
Run `ng test` to execute the unit tests via [Karma](https://karma-runner.github.io).
## Running end-to-end tests
Run `ng e2e` to execute the end-to-end tests via [Protractor](http://www.protractortest.org/).
## Further help
To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.io/cli) page.