WordPress at Your Fingertips
function is not described

Automattic\WooCommerce\Blocks\BlockTypes

Cart::enqueue_assets() protected WC 1.0

Enqueue frontend assets for this block, just in time for rendering.

{} It's a method of the class: Cart{}

Return

null. Nothing.

Usage

// protected - for code of main (parent) or child class
$result = $this->enqueue_assets( $attributes );
$attributes(array) (required)
Any attributes that currently are available from the block.

Code of Cart::enqueue_assets() WC 5.9.0

protected function enqueue_assets( array $attributes ) {
	do_action( 'woocommerce_blocks_enqueue_cart_block_scripts_before' );
	parent::enqueue_assets( $attributes );
	do_action( 'woocommerce_blocks_enqueue_cart_block_scripts_after' );
}