Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/bundler/deps.ts>postcss.Container#insertAfter

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

Insert new node after old node within the container.

Parameters

oldNode: ChildNode | number

Child or child’s index.

newNode:
| string
| string[]

New node.

Returns

this

This node for methods chain.