You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Instead of adding a new constructor to ClipboardItem for the delayed callback records, can we expand the existing constructor to include an optional argument?
can we expand the existing constructor to include an optional argument
I think we had tried that before and IIRC we ran into some compiler issues. Basically, the compiler was refusing to accept an optional record of callbacks. Perhaps we should figure that out first before we publish this explainer to public?
Instead of adding a new constructor to
ClipboardItem
for the delayed callback records, can we expand the existing constructor to include an optional argument?Before:
[RaisesException] constructor(record<DOMString, Promise> items);
[RaisesException] constructor(record<DOMString, Promise> items, record<DOMString, ClipboardDelayedCallback> callbacks);
After:
[RaisesException] constructor(record<DOMString, Promise> items, optional record<DOMString, ClipboardDelayedCallback> callbacks);
The text was updated successfully, but these errors were encountered: