1.0.0 • Published 9 months ago
@jtorm/mediatarget-method v1.0.0
jTorm Mediatarget Method
Install
npm install @jtorm/mediatarget-method
Properties
Option | Type | Required | Description |
---|---|---|---|
t | string | true | Target. |
Example
->mediatarget(t: 'mobile') {
body->attr {
n: 'class';
v: 'mobile';
m: 'a';
}
}
->mt {
t: 'desktop';
body->attr {
n: 'class';
v: 'desktop';
m: 'p';
}
}