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