@airtable/blocks/ui#loadCSSFromString JavaScript Examples
The following examples show how to use
@airtable/blocks/ui#loadCSSFromString.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: print_without_elements_with_class.js From apps-print-records with MIT License | 6 votes |
export default function printWithoutElementsWithClass(className) {
const printStyles = loadCSSFromString(`
@media print {
.${className} {
display: none !important;
}
`);
window.print();
printStyles.remove();
}
Example #2
Source File: loadCss.js From apps-base-schema with MIT License | 5 votes |
loadCSSFromString(css);
Example #3
Source File: index.js From airtable-api-connection with MIT No Attribution | 5 votes |
loadCSSFromString(styles);