1.2.1 • Published 4 years ago

jsom-ctx v1.2.1

Weekly downloads
12
License
MIT
Repository
github
Last release
4 years ago

jsom-ctx

Simplifies JSOM usage, and allows for async-await.

Examples

Get web title for current web

(async function () {
    try {
        let ctx = new JsomContext(_spPageContextInfo.webAbsoluteUrl);
        ctx = await ctx.load();
        await ExecuteJsomQuery(ctx, [ctx.web, ctx.lists]);
        console.log(ctx.web.get_title());
    } catch (err) {
        console.log(err);
    }
})();
1.2.1

4 years ago

1.2.0

5 years ago

1.1.0

5 years ago

1.0.9

5 years ago

1.0.8

6 years ago

1.0.7

6 years ago

1.0.6

6 years ago

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago

0.3.6

7 years ago

0.3.5

7 years ago

0.3.4

7 years ago

0.3.3

7 years ago

0.3.2

7 years ago

0.3.1

7 years ago

0.3.0

7 years ago

0.2.0

7 years ago

0.1.0

7 years ago