Added method On

This commit is contained in:
MaxOvs19
2023-01-30 17:57:13 +03:00
parent 1c5ee130f9
commit 63d5f0e35f
2 changed files with 32 additions and 0 deletions

View File

@ -25,6 +25,11 @@ const dropdown = new CGSelect({
width: '824px',
},
},
// multiselect: true,
});
dropdown.on('select', function (e) {
console.log(`this state: ${e}`);
});
// ------------------------------NativeSelect-----------------------