Rand Stats

Air

zef:librasteve

Actions Status

NAME

Component - A way create web components without cro templates

SYNOPSIS

use Component;
class AComponent does Component {
	has $.data;

	method RENDER {
		Q:to/END/
		<h1><.data></h1>
		END
	}
}

sub EXPORT { AComponent.^exports }

DESCRIPTION

Component is a way create web components with cro templates

You can use Components in 3 distinct (and complementar) ways

AUTHOR

Steve Roe librasteve@furnival.net

COPYRIGHT AND LICENSE

Copyright 2025 Steve Roe

This library is free software; you can redistribute it and/or modify it under the Artistic License 2.0.