Helpful
    Preparing search index...

    Represents a builder for metadata.

    Index

    Constructors

    Properties

    boolean: (...args: []) => ZMetadataBuilder = ...

    Sets the type as a boolean.

    Type Declaration

    custom: (...args: []) => ZMetadataBuilder = ...

    Sets the type as custom.

    Type Declaration

    date: (...args: []) => ZMetadataBuilder = ...

    Sets the type as date.

    Type Declaration

    file: (...args: []) => ZMetadataBuilder = ...

    Sets the type as file.

    Type Declaration

    icon: (...args: []) => ZMetadataBuilder = ...

    Sets the type as an icon.

    Type Declaration

    image: (...args: []) => ZMetadataBuilder = ...

    Sets the type as an image.

    Type Declaration

    number: (...args: []) => ZMetadataBuilder = ...

    Sets the type as a number.

    Type Declaration

    text: (...args: []) => ZMetadataBuilder = ...

    Sets the type as text.

    Type Declaration

    Methods

    • Sets the class type of the metadata.

      Parameters

      • Optionalval: string

        The value to set.

      Returns this

      This object.

    • Sets the description for the field.

      Parameters

      • val: string

        The value to set.

      Returns this

      This object.

    • Sets the fallback value for the field.

      Parameters

      • val: any

        The fallback value.

      Returns this

      This object.

    • Sets the format of the metadata.

      Parameters

      • Optionalval: string

        The value to set.

      Returns this

      This object.

    • Sets the height of the metadata.

      Parameters

      • Optionalval: string

        The value to set.

      Returns this

      This object.

    • Sets the id of the metadata.

      Parameters

      • val: string = ...

        The value to set. If this is undefined, then a new guid will be set as the value.

      Returns this

      This object.

    • Sets the name of the metadata.

      Parameters

      • val: string

        The value to set.

      Returns this

      This object.

    • Sets the path of the metadata.

      Parameters

      • val: string

        The value to set.

      Returns this

      This object.

    • Sets the precision of the metadata.

      Parameters

      • Optionalval: number

        The value to set.

      Returns this

      This object.

    • Sets both width and height.

      Parameters

      • Optionalval: string

        The value to set.

      Returns this

      This object.

    • Sets the width of the metadata.

      Parameters

      • Optionalval: string

        The value to set.

      Returns this

      This object.