Yield the element to the function if a function is used as the configuration value for the multiple option. Rewrite it completely with a data-api if get time.