reduxframework / customizer-integration

0 stars 0 forks source link

Can we have transport method on a per-field basis? #12

Open kmob2 opened 8 years ago

kmob2 commented 8 years ago

WP customizer supports 2 types of transport, refresh (default) and PostMessage. Redux seems to use refresh as default as well and applies that to all fields. Any chance to have that as a field setting so we can change that on a per field basis?

dovy commented 8 years ago

@kmob2, if you use the output argument it uses PostMessage, otherwise it's refresh. I need to add some code to permit you to code your own PostMessage, but I haven't yet. Haven't had the time lately to dig in. :(