با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
blockly > blockRendering > ConstantProvider > getCSS_
متد blockRendering.ConstantProvider.getCSS_().
هر CSS رندر مخصوصی را دریافت کنید تا وقتی رندر اولیه شد، تزریق کنید.
امضا:
protected getCSS_(selector: string): string[];
پارامترها
پارامتر | تایپ کنید | توضیحات |
---|
انتخابگر | رشته | انتخابگر CSS برای استفاده. |
برمیگرداند:
رشته[]
آرایه ای از رشته های CSS.
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2025-01-04 بهوقت ساعت هماهنگ جهانی.
[[["درک آسان","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"]],["تاریخ آخرین بهروزرسانی 2025-01-04 بهوقت ساعت هماهنگ جهانی."],[[["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"]]