Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/deno_bundler/deps.ts>postcss.Container#removeAll

A Bundler with the web in mind.
Latest
method postcss.Container.prototype.removeAll
Re-export
import { postcss } from "https://deno.land/x/deno_bundler@v0.9.1/deps.ts";
const { Container } = postcss;

Removes all children from the container and cleans their parent properties.

rule.removeAll()
rule.nodes.length //=> 0

Returns

this

This node for methods chain.