style-inject

WebJar for style-inject

Лицензия

Лицензия

MIT
Группа

Группа

org.webjars.npm
Идентификатор

Идентификатор

style-inject
Последняя версия

Последняя версия

0.3.0
Дата

Дата

Тип

Тип

jar
Описание

Описание

style-inject
WebJar for style-inject
Ссылка на сайт

Ссылка на сайт

http://webjars.org
Система контроля версий

Система контроля версий

https://github.com/egoist/style-inject

Скачать style-inject

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/org.webjars.npm/style-inject/ -->
<dependency>
    <groupId>org.webjars.npm</groupId>
    <artifactId>style-inject</artifactId>
    <version>0.3.0</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.npm/style-inject/
implementation 'org.webjars.npm:style-inject:0.3.0'
// https://jarcasting.com/artifacts/org.webjars.npm/style-inject/
implementation ("org.webjars.npm:style-inject:0.3.0")
'org.webjars.npm:style-inject:jar:0.3.0'
<dependency org="org.webjars.npm" name="style-inject" rev="0.3.0">
  <artifact name="style-inject" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.npm', module='style-inject', version='0.3.0')
)
libraryDependencies += "org.webjars.npm" % "style-inject" % "0.3.0"
[org.webjars.npm/style-inject "0.3.0"]

Зависимости

Библиотека не имеет зависимостей. Это самодостаточное приложение, которое не зависит ни от каких других библиотек.

Модули Проекта

Данный проект не имеет модулей.

style-inject

NPM version NPM downloads CircleCI donate chat

Inject style tag to document head.

Installation

npm install style-inject

Example

import styleInject from 'style-inject';
const css = `
  body {
    margin: 0;
  }
`;
styleInject(css, options);

Options

insertAt

Type: string
Possible values: top
Default: undefined

Insert style tag to specific position of head element.

License

MIT © EGOIST

Версии библиотеки

Версия
0.3.0
0.2.1