mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
* Add type definitions for insert-css * Correct indentation in insert-css-tests.ts * Make createElement calls consistent * Use single quotes in import
28 lines
625 B
TypeScript
28 lines
625 B
TypeScript
import { insertCss } from 'insert-css';
|
|
|
|
insertCss('body{position:absolute}');
|
|
|
|
insertCss('body{position:absolute}', {});
|
|
|
|
insertCss('body{text-decoration:underline !important}', {
|
|
prepend: true,
|
|
});
|
|
|
|
insertCss('body{text-decoration:underline !important}', {
|
|
prepend: false,
|
|
});
|
|
|
|
insertCss('body{position:absolute}', {
|
|
container: document.createElement(''),
|
|
});
|
|
|
|
insertCss('body{text-decoration:underline !important}', {
|
|
prepend: true,
|
|
container: document.createElement(''),
|
|
});
|
|
|
|
insertCss('body{text-decoration:underline !important}', {
|
|
prepend: false,
|
|
container: document.createElement(''),
|
|
});
|