{{prop.property}} { {{prop.type}} } {{if prop.version}} {{prop.version}} {{/if}}
默认值: {{prop.default}}
{{/if}} {{if prop.type.toLowerCase() == 'function' && prop.params.length}}方法参数:
参数名 | 类型 | 描述 | 必选 | 版本 |
---|---|---|---|---|
{{param.name}} | {{param.type}} | {{param.description}} | {{if !param.optional}} {{/if}} | {{param.version}} |
{{method.method}} {{if method.version}} {{method.version}} {{/if}}
方法参数:
参数名 | 类型 | 描述 | 必选 | 版本 |
---|---|---|---|---|
{{param.name}} | {{param.type}} | {{param.description}} | {{if !param.optional}} {{/if}} | {{param.version}} |
返回值: {{method.returns.type}} {{method.returns.name}}
{{/if}} {{/if}} {{/each}} {{/if}} {{if example}}{{example}}
{{/if}}
{{if demo}}
Demo地址: 点击访问
{{/if}}