django_bird.params¶
Module Contents¶
Classes¶
API¶
- class django_bird.params.Params¶
-
- render_props(component: django_bird.components.Component, context: django.template.context.Context)¶
- render_attrs(context: django.template.context.Context) django.utils.safestring.SafeString¶
- classmethod from_node(node: django_bird.templatetags.tags.bird.BirdNode) django_bird.params.Params¶
- class django_bird.params.Param¶
- name: str¶
None
- render_attr(context: django.template.context.Context) str¶
- render_prop(context: django.template.context.Context) str | bool | None¶
- class django_bird.params.Value¶
- raw: django.template.base.FilterExpression | str | bool | None¶
None
- resolve(context: django.template.context.Context | dict[str, Any], is_attr: bool = False) Any¶
- _resolve_expression(expression: django.template.base.FilterExpression, context: django.template.context.Context, is_attr: bool) Any¶
- _resolve_raw_string(raw: str, context: django.template.context.Context | dict[str, Any]) Any¶
- static _is_quoted(raw: str) bool¶