mirror of
https://github.com/django-components/django-components.git
synced 2025-07-16 21:15:00 +00:00

* Add 'default' slot option + implicit fills; tests; docs * Differentiate between standard fillnodes and implicitfillnodes on type lvl * Reworking slot-fill rendering logic. Simplifying component interfact. Add new get_string_template method * First working implementation of chainmap instead of stacks for slot resolution * Stop passing FillNode to Component initalizer -> better decoupling * Treat fill name and alias and component name as filterexpression, dropping namedvariable * Name arg of if_filled tags and slots must be string literal
4 lines
No EOL
79 B
HTML
4 lines
No EOL
79 B
HTML
<div class="todo-item">
|
|
{% slot "todo_text" default %}
|
|
{% endslot %}
|
|
</div> |