{{prop.property}} { {{prop.type}} } {{if prop.version}} {{prop.version}} {{/if}} {{if prop.static}}static{{/if}} #
{{prop.example}}
{{/if}}
默认值: {{prop.default}}
{{/if}} {{if /function|string/i.test(prop.type) && 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}} {{if method.static}}static{{/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}} {{if events.length}}{{event.event}} {{if event.version}} {{event.version}} {{/if}} {{if event.static}}static{{/if}} #
方法参数:
参数名 | 类型 | 描述 | 必选 | 版本 |
---|---|---|---|---|
{{param.name}} | {{param.type}} | {{param.description}} | {{if !param.optional}} {{/if}} | {{param.version}} |
返回值: {{event.returns.type}} {{event.returns.name}}
{{/if}} {{if event.example}}{{event.example}}
{{/if}} {{/each}} {{/if}} {{if example}}
{{example}}
{{/if}} {{if demo}}
Demo地址: 点击访问
{{/if}}