গবেষণা সমীক্ষা: ব্লকলি
স্টার্ট সার্ভে নিয়ে আপনার অভিজ্ঞতা সম্পর্কে আমাদের বলুন
ব্লকলি > ব্লক রেন্ডারিং > রেন্ডারার > রিফ্রেশডম
blockRendering.Renderer.refreshDom() পদ্ধতি
থিম পরিবর্তনের পর রেন্ডারার রিফ্রেশ করুন।
স্বাক্ষর:
refreshDom(svg: SVGElement, theme: Theme): void;
পরামিতি
প্যারামিটার | টাইপ | বর্ণনা |
---|
svg | SVGE উপাদান | কর্মক্ষেত্রের SVG-এর মূল। |
থিম | থিম | ওয়ার্কস্পেস থিম অবজেক্ট। |
রিটার্ন:
অকার্যকর
অন্য কিছু উল্লেখ না করা থাকলে, এই পৃষ্ঠার কন্টেন্ট Creative Commons Attribution 4.0 License-এর অধীনে এবং কোডের নমুনাগুলি Apache 2.0 License-এর অধীনে লাইসেন্স প্রাপ্ত। আরও জানতে, Google Developers সাইট নীতি দেখুন। Java হল Oracle এবং/অথবা তার অ্যাফিলিয়েট সংস্থার রেজিস্টার্ড ট্রেডমার্ক।
2024-11-13 UTC-তে শেষবার আপডেট করা হয়েছে।
[null,null,["2024-11-13 UTC-তে শেষবার আপডেট করা হয়েছে।"],[[["Refreshes the visual representation of Blockly blocks after a theme change."],["Takes the workspace's SVG root and the new theme as input for updating the block visuals."],["The `refreshDom` method is part of the `Renderer` class within the `blockRendering` namespace in Blockly."],["This method is crucial for applying visual changes immediately after a theme is altered, ensuring the workspace reflects the new style."]]],[]]