แบบสำรวจการวิจัย: บอกให้เราทราบเกี่ยวกับประสบการณ์การใช้งาน Blockly
เริ่มแบบสำรวจ
การปรับแต่งช่อง
แม้ว่า Blockly จะมีช่องที่เป็นประโยชน์มากมาย แต่แอปพลิเคชันของคุณอาจมีกรณีพิเศษอยู่ ลองทําตามขั้นตอนต่อไปนี้เมื่อปรับแต่งช่อง
อ่านเอกสารประกอบทุกช่องที่คล้ายกับที่ต้องการ ช่องเหล่านี้อาจมีอินเทอร์เฟซที่เป็นประโยชน์สําหรับการปรับแต่ง เช่น เมนูแบบเลื่อนลงมีฟังก์ชันการทํางานที่ซ่อนอยู่จํานวนมาก
ลองใช้เครื่องมือตรวจสอบเพื่อแก้ปัญหา
โปรแกรมตรวจสอบอนุญาตให้คุณยอมรับเฉพาะค่าบางค่า แก้ไขอินพุต หรือทริกเกอร์ฟังก์ชันเมื่อค่าของช่องมีการเปลี่ยนแปลง
ลองขยายช่อง
หากช่องแสดงถึงประเภทค่าที่คุณต้องการ แต่ต้องการแก้ไขตัวแก้ไข ลักษณะที่ปรากฏ หรือข้อความที่แสดงช่องนั้น คุณสามารถสร้างคลาสย่อยที่รับช่วงฟังก์ชันการทํางานจํานวนมากไปพร้อมกับลบล้างส่วนที่ต้องการเปลี่ยนแปลง
สร้างช่องประเภทใหม่
แม้ว่าตัวเลือกนี้เป็นตัวเลือกที่มีประสิทธิภาพมากที่สุด แต่ก็จะใช้เวลามากที่สุดด้วย และโดยทั่วไปก็ควรใช้ในกรณีที่คุณต้องการจัดเก็บประเภทค่าใหม่เท่านั้น
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2022-12-06 UTC
[null,null,["อัปเดตล่าสุด 2022-12-06 UTC"],[[["Blockly offers customization options beyond its built-in fields, allowing developers to tailor fields to their specific needs."],["Before creating a new field type, explore existing fields, validators, and extension capabilities for potential solutions."],["Leverage validators to control accepted values, modify input, or trigger actions based on field value changes."],["Extend existing fields to modify their editor, appearance, or displayed text while inheriting core functionality."],["Creating a new field type is the most powerful but time-intensive option, reserved for storing new value types."]]],["Customizing Blockly fields involves several steps: First, review documentation of similar fields for potential customization options. Second, use validators to control accepted values, modify input, or trigger actions upon value changes. Third, extend existing fields by creating subclasses to modify their editor, appearance, or displayed text. Finally, create a new field type for storing novel value types, though this is the most complex option.\n"]]