Skip to content

Document how to use component names functionality #3

@johngalambos

Description

@johngalambos

Hi,

I'm having trouble figuring how to use the new component names functionality--in particular I can't figure out how to set the name property of the constructor. Would you be able to provide an example? My best guess is something like this but it doesn't seem to work:

TestView = Backbone.View.extend({
  initialize: function () {
  }, {
    name: "TestView"
  }
})

Thanks for the great extension!

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions