Open itsumura-h opened 4 months ago
basolato/view
proc idElement*(id="id"):string = const options = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ" let saffix = "_" & randStr(10, options) return id & saffix proc classElement*(class="class"):string = const options = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ" let saffix = "_" & randStr(10, options) return class & saffix
basolato/view