mirror of https://github.com/artf/grapesjs.git
1 changed files with 4 additions and 2 deletions
@ -1,8 +1,10 @@ |
|||
import { Collection } from '../../common'; |
|||
import Layer from './Layer'; |
|||
|
|||
export default class Layers extends Collection { |
|||
initialize(p, opts = {}) { |
|||
export default class Layers extends Collection<Layer> { |
|||
prop: any; |
|||
|
|||
initialize(p: any, opts: { prop?: any } = {}) { |
|||
this.prop = opts.prop; |
|||
} |
|||
} |
|||
Loading…
Reference in new issue