-
Notifications
You must be signed in to change notification settings - Fork 30
Open
Description
Suppose you want to do something like:
new Cleave(
this.fp.altInput,
{
date: true,
datePattern: ["m", "d", "Y"],
}
);If you put this in connect() then it'll re-run every time the element is re-added to the DOM, which seems to be erroneous, as event listeners persist across removal and re-adding to the DOM. So you just want to do this once, e.g. in initialize or onReady.
Metadata
Metadata
Assignees
Labels
No labels