Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for addBefore (0.05 sec)

  1. build-logic/documentation/src/main/groovy/gradlebuild/docs/BuildableDOMCategory.groovy

            }
        }
    
        public static void addBefore(Node sibling, Closure cl) {
            DomBuilder builder = new DomBuilder(sibling.ownerDocument, null)
            cl.delegate = builder
            cl.call()
            def parent = sibling.parentNode
            builder.elements.each { element ->
                parent.insertBefore(element, sibling)
            }
        }
    
        public static void addBefore(Element sibling, Node n) {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Aug 11 15:32:19 UTC 2022
    - 2.8K bytes
    - Viewed (0)
Back to top