Klasa podstawowa dla wszystkich widżetów, które można dodać do Card
.
Class Widget
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2025-07-26 UTC.
[null,null,["Ostatnia aktualizacja: 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)."]]