-
Notifications
You must be signed in to change notification settings - Fork 19
Open
Description
Simple code
function getPageContent(localeKey, pageKey, varToPopulate) {
var contentRequest = {
LocaleKey: localeKey,
PageKey: pageKey
};
$.getJSON('api/pagecontent', contentRequest, function (data) {
varToPopulate.pushAll(data.ContentElements);
When I change the locale key I need it to repopulate and have the UI update too. However I don't know how to get that to work (oh, and 'subscribe' would be lovely!)
Metadata
Metadata
Assignees
Labels
No labels