คลาสพื้นฐานสําหรับวิดเจ็ตทั้งหมดที่เพิ่มลงใน Card
ได้
Class Widget
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-26 UTC
[null,null,["อัปเดตล่าสุด 2025-07-26 UTC"],[[["\u003cp\u003eWidget serves as the fundamental building block for all interactive elements within Google Workspace add-ons.\u003c/p\u003e\n"],["\u003cp\u003eEvery widget, whether it's a text box, button or image, inherits from this core Widget class to ensure consistent behavior and properties.\u003c/p\u003e\n"],["\u003cp\u003eBy extending the Widget class, developers can craft interactive and dynamic user interfaces within their add-ons, enhancing user experience and functionality.\u003c/p\u003e\n"]]],[],null,["# Class Widget\n\nWidget\n\nBase class for all widgets that can be added to a [Card](/apps-script/reference/card-service/card)."]]