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 { Collection } from '../../common'; |
||||
import Layer from './Layer'; |
import Layer from './Layer'; |
||||
|
|
||||
export default class Layers extends Collection { |
export default class Layers extends Collection<Layer> { |
||||
initialize(p, opts = {}) { |
prop: any; |
||||
|
|
||||
|
initialize(p: any, opts: { prop?: any } = {}) { |
||||
this.prop = opts.prop; |
this.prop = opts.prop; |
||||
} |
} |
||||
} |
} |
||||
Loading…
Reference in new issue