แบบสำรวจการวิจัย: บอกให้เราทราบเกี่ยวกับประสบการณ์การใช้งาน Blockly
เริ่มแบบสำรวจ
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
blockly > blockRendering > ConstantProvider > getCSS_
เมธอด blockRendering.ConstantProvider.getCSS_()
รับ CSS ที่เจาะจงสำหรับโปรแกรมแสดงผลเพื่อแทรกเมื่อเริ่มต้นโปรแกรมแสดงผล
ลายเซ็น:
protected getCSS_(selector: string): string[];
พารามิเตอร์
พารามิเตอร์ |
ประเภท |
คำอธิบาย |
Selector |
สตริง |
ตัวเลือก CSS ที่จะใช้ |
การคืนสินค้า:
string[]
อาร์เรย์สตริง CSS
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2024-11-09 UTC
[[["เข้าใจง่าย","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"]],["อัปเดตล่าสุด 2024-11-09 UTC"],[[["The `getCSS_` method, used within the Blockly block rendering process, retrieves renderer-specific CSS for injection during renderer initialization."],["This protected method accepts a CSS selector as input and returns an array of CSS strings corresponding to that selector."]]],["The `getCSS_` method, part of the `blockRendering.ConstantProvider` class, retrieves renderer-specific CSS. It accepts a `selector` string to define the CSS target. It returns an array of CSS strings designed for injection during renderer initialization. This method is protected, indicating its use is within the class or its subclasses for customizing rendering styles. It is used to get any css that the render needs.\n"]]