blockly > BlockSvg > moveNumberedInputBefore
یک ورودی شماره گذاری شده را به مکان دیگری در این بلوک منتقل کنید.
امضا:
moveNumberedInputBefore(inputIndex: number, refIndex: number): void;
پارامترها
پارامتر | تایپ کنید | توضیحات |
---|
InputIndex | شماره | شاخص ورودی برای حرکت. |
refIndex | شماره | شاخص ورودی که باید بعد از ورودی منتقل شده باشد. |
برمیگرداند:
باطل
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2025-01-10 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2025-01-10 بهوقت ساعت هماهنگ جهانی."],[[["The `moveNumberedInputBefore` method repositions a numbered input on a block to a new location relative to another input."],["This method requires two arguments: `inputIndex` for the input to be moved, and `refIndex` indicating the input that should follow the moved input."],["`moveNumberedInputBefore` modifies the block directly and does not return any value."]]],[]]