แบบสำรวจการวิจัย: บอกให้เราทราบเกี่ยวกับประสบการณ์การใช้งาน Blockly
เริ่มแบบสำรวจ
blockly > ComponentManager > removeCapability
เมธอด ComponentManager.removeCapability()
นำความสามารถออกจากคอมโพเนนต์ที่ลงทะเบียนไว้ซึ่งมีอยู่แล้ว
ลายเซ็น:
removeCapability<T>(id: string, capability: string | Capability<T>): void;
พารามิเตอร์
พารามิเตอร์ |
ประเภท |
คำอธิบาย |
id |
สตริง |
รหัสของคอมโพเนนต์ที่จะนำความสามารถออก |
ความสามารถ |
สตริง | ความสามารถ<T> |
ความสามารถในการนำออก |
การคืนสินค้า:
เป็นโมฆะ
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2024-08-29 UTC
[null,null,["อัปเดตล่าสุด 2024-08-29 UTC"],[[["The `removeCapability` method is used to remove a specific capability from a registered component within Blockly's ComponentManager."],["It requires the component's ID and the capability to be removed, which can be specified either by its name (string) or as a `Capability` object."],["This method does not return any value, it simply modifies the component's capabilities within the ComponentManager."]]],[]]