Skip to main content
Module

x/bundler/deps.ts>postcss.Node#after

A Bundler with the web in mind.
Latest
method postcss.Node.prototype.after
Re-export
import { postcss } from "https://deno.land/x/bundler@0.9.0/deps.ts";
const { Node } = postcss;

Insert new node after current node to current node’s parent.

Just alias for node.parent.insertAfter(node, add).

decl.after('color: black')

Parameters

newNode:
| Node
| string
| Node[]

New node.

Returns

this

This node for methods chain.