1.0.0 • Published 8 months ago
@jtorm/css-method v1.0.0
jTorm CSS Method
Adds external CSS to the plugin collection to process.
Install
npm install @jtorm/css-method
Properties
Option | Type | Required |
---|---|---|
href | string | true |
crossorigin | string | false |
defer | boolean | false |
hreflang | string | false |
media | string | false |
referrerpolicy | string | false |
rel | string | false |
sizes | string | false |
title | string | false |
type | string | false |
Example
->css {
href: 'https://cdn.example.com/test.css';
rel: 'row';
crossorigin: 'a';
defer: '1';
}