Skip to content

Instantly share code, notes, and snippets.

@QuanfuXiao
QuanfuXiao / Field API Demo.WORD.yaml
Last active June 23, 2022 09:23
All hands demo
name: Field API Demo
description: All hands demo
host: WORD
api_set: {}
script:
content: |
$("#quotation").click(() => tryCatch(quotation));
$("#deletefield").click(() => tryCatch(deletefield));
var flds;
name: Get fields
description: get fields
host: WORD
api_set: {}
script:
content: |
$("#getRangeFields").click(() => tryCatch(getRangeFields));
$("#getOoxml").click(() => tryCatch(getOoxml));
$("#setOoxml").click(() => tryCatch(setOoxml));
$("#getBodyField").click(() => tryCatch(getBodyField));