{{component}} {{_desc}} {{if version}}{{version}}{{/if}}

{{description | markdown}}
{{if instruction.length}}
使用说明
{{each instruction as instructions}}
{{if instructions.instructionsMd}}
{{instructions.instructionsMd}}
{{/if}} {{if instructions.instructionsUrl}}
{{/if}}
{{/each}}
{{/if}}
{{if props.length}}
属性
{{each props as prop}}

{{prop.property}} { {{prop.type}} } {{if prop.version}} {{prop.version}} {{/if}}

{{prop.description | markdown}}
{{if prop.example}}
{{prop.example}}
{{/if}}
{{if prop.default}}

默认值: {{prop.default}}

{{/if}} {{if prop.type.toLowerCase() == 'function' && prop.params.length}}

方法参数:

{{each prop.params as param index}} {{/each}}
参数名 类型 描述 版本
{{param.name}} {{param.type}} {{param.description}} {{param.version}}
{{/if}} {{if prop.returns}}

返回值: {{prop.returns.type}} {{prop.returns.name}}

{{/if}} {{/each}} {{/if}} {{if methods.length}}
方法
{{each methods as method}}

{{method.method}} {{if method.version}} {{method.version}} {{/if}}

{{method.description | markdown}}
{{if method.params.length}}

方法参数:

{{each method.params as param index}} {{/each}}
参数名 类型 描述 必选 版本
{{param.name}} {{param.type}} {{param.description}} {{if !param.optional}} {{/if}} {{param.version}}
{{/if}} {{if method.returns}}

返回值: {{method.returns.type}} {{method.returns.name}}

{{/if}} {{if method.example}}
{{method.example}}
{{/if}} {{/each}} {{/if}} {{if example}}
示例
{{example}}
{{/if}} {{if demo}}

Demo地址: 点击访问

{{/if}}