UNPKG

luda

Version:

A library helps to build cross-framework UI components.

12 lines (8 loc) 267 B
import luda from '../base/luda.coffee' import splitValues from '../base/split-values.coffee' luda.include removeProp: (prop) -> props = splitValues(prop) return this unless props.length @els.forEach (el) -> props.forEach (p) -> delete el[p] this