با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
یک برچسب متنی
استفاده
برمی گرداند
ui.Label( value , style , targetUrl , imageUrl )
ui.Label
استدلال
تایپ کنید
جزئیات
value
رشته، اختیاری
متن برای نمایش پیشفرض یک رشته خالی است.
style
شیء، اختیاری
یک شی از سبک های CSS مجاز با مقادیر آنها برای تنظیم این ویجت. به مستندات style() مراجعه کنید.
targetUrl
رشته، اختیاری
آدرس اینترنتی برای پیوند. پیشفرض یک رشته خالی است.
imageUrl
رشته، اختیاری
نشانی اینترنتی تصویر اختیاری. در صورت ارائه، برچسب به عنوان یک تصویر ارائه می شود و متن مقدار روی شناور ماوس نشان داده می شود. فقط داده ها: آدرس ها و نمادهای بارگیری شده از gstatic.com مجاز هستند.
تاریخ آخرین بهروزرسانی 2025-07-24 بهوقت ساعت هماهنگ جهانی.
[[["درک آسان","easyToUnderstand","thumb-up"],["مشکلم را برطرف کرد","solvedMyProblem","thumb-up"],["غیره","otherUp","thumb-up"]],[["اطلاعاتی که نیاز دارم وجود ندارد","missingTheInformationINeed","thumb-down"],["بیشازحد پیچیده/ مراحل بسیار زیاد","tooComplicatedTooManySteps","thumb-down"],["قدیمی","outOfDate","thumb-down"],["مشکل ترجمه","translationIssue","thumb-down"],["مشکل کد / نمونهها","samplesCodeIssue","thumb-down"],["غیره","otherDown","thumb-down"]],["تاریخ آخرین بهروزرسانی 2025-07-24 بهوقت ساعت هماهنگ جهانی."],[[["Creates a text label UI element that can optionally display an image and link to a URL."],["Customization options include text value, CSS styling, target URL, and image URL."],["Image URLs are restricted to data URLs and icons from gstatic.com, displayed on hover with the text value as a tooltip."],["Default values are provided for optional arguments, resulting in an empty label with no styling or linking."]]],["The `ui.Label` function creates a text label with optional styling, a target URL, and an image. The `value` argument sets the displayed text, `style` customizes the CSS, `targetUrl` defines a link, and `imageUrl` displays an image with hover text. The text, style, URL, and image arguments are all optional and have default values. The label will only allow images from gstatic.com or data urls.\n"]]