{"size": 634, "ext": "js", "max_stars_repo_path": "delay.js", "max_stars_repo_name": "RichCaloggero/hybrids-test", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "delay.js", "max_issues_repo_name": "RichCaloggero/hybrids-test", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "delay.js", "max_forks_repo_name": "RichCaloggero/hybrids-test", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 25.36, "max_line_length": 90, "alphanum_fraction": 0.6356466877}
import {define, html, property} from "./hybrids/index.js";
import * as element from "./element.js";
import * as ui from "./ui.js";


const defaults = {
delay: {default: 0.5, min: 0, max: 1, step: 0.001}
};

const Delay = element.create("delay", defaults, "createDelay", [["delay", "delayTime"]], {

render: ({ mix, bypass, label, _depth, delay }) => {
console.debug(`${label}: rendering...`);
return html`
<fieldset class="delay">
${ui.legend({ label, _depth })}
${ui.commonControls({ bypass, mix, defaults })}
${ui.number("delay", "delay", delay, defaults)}
</fieldset>
`; // template
} // render
});

define ("audio-delay", Delay);
