Home / Function/ test_angular_binding_attribute_syntax() — tailwindcss Function Reference

test_angular_binding_attribute_syntax() — tailwindcss Function Reference

Architecture documentation for the test_angular_binding_attribute_syntax() function in mod.rs from the tailwindcss codebase.

Entity Profile

Dependency Diagram

graph TD
  c7cfe03e_46cb_6381_c088_27ccec6b7b73["test_angular_binding_attribute_syntax()"]
  322a5768_e6e0_c5e9_b1c2_7c6638e21f71["assert_extract_sorted_candidates()"]
  c7cfe03e_46cb_6381_c088_27ccec6b7b73 -->|calls| 322a5768_e6e0_c5e9_b1c2_7c6638e21f71
  style c7cfe03e_46cb_6381_c088_27ccec6b7b73 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

crates/oxide/src/extractor/mod.rs lines 862–882

    fn test_angular_binding_attribute_syntax() {
        for (input, expected) in [
            // Simple class
            (
                r#"<div [class.underline]="bool"></div>"#,
                vec!["underline", "bool"],
            ),
            // With additional dots
            (
                r#"<div [class.px-2.5]="bool"></div>"#,
                vec!["px-2.5", "bool"],
            ),
            // With additional square brackets
            (
                r#"<div [class.bg-[#0088cc]]="bool"></div>"#,
                vec!["bg-[#0088cc]", "bool"],
            ),
        ] {
            assert_extract_sorted_candidates(input, expected);
        }
    }

Domain

Subdomains

Frequently Asked Questions

What does test_angular_binding_attribute_syntax() do?
test_angular_binding_attribute_syntax() is a function in the tailwindcss codebase.
What does test_angular_binding_attribute_syntax() call?
test_angular_binding_attribute_syntax() calls 1 function(s): assert_extract_sorted_candidates.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free