Questions tagged [interactivity-api]
The interactivity-api tag has no usage guidance.
interactivity-api
3
questions
0
votes
1
answer
18
views
WordPress Interactivity API how to use data-wp-bind--checked in a loop?
Is it possible to bind checked on a group of radio buttons generated in a loop and have the checked state be determined by the state?
Strangely enough in my current setup the last value is checked ...
1
vote
1
answer
53
views
Using Context with Getter Methods in WordPress Interactivity API
I'm working with the WordPress Interactivity API and I've encountered an issue with using context and getter methods. Here's my current code:
import { store, getContext } from '@wordpress/...
0
votes
1
answer
61
views
Why does wordpress interactivity api need context?
WordPress Interactivity API was officially released with WordPress 6.5. As I've been studying this new feature, I find it intriguing, but I'm somewhat perplexed about certain aspects, particularly ...