Nude Element API Docs - v0.1.3
    Preparing search index...

    Function delegate

    • Generate a bunch of accessors to proxy properties through a certain subobject

      Parameters

      • options: { descriptors: {}; from: any; properties: string[]; to: string }
        • descriptors: {}

          Property descriptors for each property

        • from: any

          The object to define the delegated properties on

        • properties: string[]

          Array of property names to delegate

        • to: string

          The name of the subobject property to proxy through

      Returns void