Skip to content

Support array of arrays in TemplateConfig directives #592

@mhevery

Description

@mhevery

Currently TemplateConfig.directives takes a list [Directive1]. This means that when importing the whole list has to be enumerated.

By supporting a Array of Arrays (arbitrary deep) we can do this.

var coreDirectives = [ng.Foreach, ng.If];
var appDirectives = [Component1, Component2, coreDirectives]
new TemplateConfig({
  directives: [appDirectives, Component3]
})

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions