Bản khảo sát nghiên cứu: Cho chúng tôi biết trải nghiệm của bạn khi sử dụng Blockly
Bắt đầu khảo sát
Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
blockly > blockRendering > InlineInput > (hàm khởi tạo)
Tạo một thực thể mới của lớp InlineInput
Chữ ký:
constructor(constants: ConstantProvider, input: Input);
Thông số
Thông số |
Loại |
Mô tả |
hằng số |
ConstantProvider |
Nhà cung cấp hằng số kết xuất. |
input |
Input |
Dữ liệu đầu vào cùng dòng để đo lường và lưu trữ thông tin. |
Trừ phi có lưu ý khác, nội dung của trang này được cấp phép theo Giấy phép ghi nhận tác giả 4.0 của Creative Commons và các mẫu mã lập trình được cấp phép theo Giấy phép Apache 2.0. Để biết thông tin chi tiết, vui lòng tham khảo Chính sách trang web của Google Developers. Java là nhãn hiệu đã đăng ký của Oracle và/hoặc các đơn vị liên kết với Oracle.
Cập nhật lần gần đây nhất: 2024-11-08 UTC.
[[["Dễ hiểu","easyToUnderstand","thumb-up"],["Giúp tôi giải quyết được vấn đề","solvedMyProblem","thumb-up"],["Khác","otherUp","thumb-up"]],[["Thiếu thông tin tôi cần","missingTheInformationINeed","thumb-down"],["Quá phức tạp/quá nhiều bước","tooComplicatedTooManySteps","thumb-down"],["Đã lỗi thời","outOfDate","thumb-down"],["Vấn đề về bản dịch","translationIssue","thumb-down"],["Vấn đề về mẫu/mã","samplesCodeIssue","thumb-down"],["Khác","otherDown","thumb-down"]],["Cập nhật lần gần đây nhất: 2024-11-08 UTC."],[[["The `InlineInput` class handles the rendering of inline inputs within Blockly blocks."],["An `InlineInput` object is constructed using a `ConstantProvider` for rendering settings and an `Input` object representing the actual input."],["The constructor initializes the `InlineInput` with necessary information from the provided `ConstantProvider` and `Input` for proper rendering."]]],["The `InlineInput` class constructor creates a new instance. It requires two parameters: `constants`, a `ConstantProvider` instance which provides rendering constants, and `input`, an `Input` instance representing the inline input. The constructor's purpose is to measure and store information related to the specified inline input during the rendering process, utilizing constants from the provided `ConstantProvider`.\n"]]