סקר מחקר: נשמח לשמוע על החוויה שלך עם Blockly
לפתיחת הסקר
blockly > עיצוב > setComponentStyle
שיטת Theme.setComponentStyle()
הגדרת רכיב ספציפי בממשק המשתמש של Blockly עם ערך סגנון.
Signature:
setComponentStyle(componentName: string, styleValue: any): void;
פרמטרים
פרמטר |
סוג |
תיאור |
componentName |
מחרוזת |
שם הרכיב. |
styleValue |
כל |
ערך הסגנון. |
החזרות:
ריק
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2024-10-15 (שעון UTC).
[null,null,["עדכון אחרון: 2024-10-15 (שעון UTC)."],[[["The `Theme.setComponentStyle()` method allows you to configure the style of individual Blockly UI components."],["It takes two arguments: `componentName` (string) which identifies the specific component, and `styleValue` (any) which sets the desired style."],["Calling this method applies the specified style value to the designated Blockly UI component."]]],[]]