PROGRAMMING/스피드웨건
[ThymeLeaf] 속성의 우선순위(Attribute Precedence)
민 이
2022. 2. 1. 23:41
순서 | 내용 | 속성 |
1 | Fragment inclusion | th:include th:replace |
2 | Fragment iteration | th:each |
3 | Conditional evaluation | th:if th:unless th:switch th:case |
4 | Local variable definition | th:object th:with |
5 | General attribute modification | th:attr th:attrprepend th:attrappend |
6 | Specific attribute modification | th:value th:href th:src ... |
7 | Text(tag body modification) | th:text th:utext |
8 | Fragment specification | th:fragment |
9 | Fragment removal | th:remove |
https://www.thymeleaf.org/doc/tutorials/2.1/usingthymeleaf.html#fn2