N3-components/N3-components

View on GitHub
docs/example_zh/n3LoadingDocs.md

Summary

Maintainability
Test Coverage
<template>

### 加载提示

<div class="bs-docs-section" >
<div class="bs-example">
  <p>大图标:<n3-loading size="lg"></n3-loading></p>
  <p>默认图标:<n3-loading ></n3-loading></p>
  <p>刷新图标:<n3-loading type="refresh"></n3-loading></p>
  <p>颜色:<n3-loading color="primary"></n3-loading></p>
</div>

<div class="bs-example">
  <p>居中:<n3-loading center></n3-loading></p>
</div>

```html
<p>大图标:<n3-loading size="lg"></n3-loading></p>
<p>默认图标:<n3-loading ></n3-loading></p>
<p>刷新图标:<n3-loading type="refresh"></n3-loading></p>
<p>颜色:<n3-loading color="primary"></n3-loading></p>
<p>居中:<n3-loading center></n3-loading></p>
```

### 参数

| 参数名 | 类型 | 默认值 | 说明 |
| --- | --- | --- | --- |
| size | `String` |  | 图标大小`lg` `sm` `xs` 和默认 |
| type | `String` |  | 图标类型 `refresh` 和默认菊花 |
| center | `Boolean` |  | 居中 |
| color | `String` |  | 颜色 |
  
</div>
</template>