Uploaded image for project: 'PUBLIC - Liferay Alloy UI'
  1. PUBLIC - Liferay Alloy UI
  2. AUI-106

Allow Component to pass in AUGMENTS

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.0.0
    • Fix Version/s: 1.0.1
    • Component/s: Component
    • Labels:
      None

      Description

      There should be an easier way to augment the Component class during Component.create(), and my work around for that is to use a config option called AUGMENTS.
      This parameter accepts either a constructor or an array of constructors that will be mixed into the prototoype of the main class.

      This will help with easily creating a new component that also happens to need to be a WidgetParent or a WidgetChild (or a WidgetStdMod, etc).

        Attachments

          Activity

            People

            Assignee:
            nathan.cavanaugh Nate Cavanaugh
            Reporter:
            nathan.cavanaugh Nate Cavanaugh
            Participants of an Issue:
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              11 years, 15 weeks ago

                Packages

                Version Package
                1.0.1