Javascript/Sencha

Sencha xype 확인 하기

바리새인 2025. 1. 18. 09:39
if (myObject && myObject.isXType('grid')) {
    console.log('This object is a grid.');
} else {
    console.log('This object is not a grid.');
}