VintaSoft Barcode .NET SDK 15.1: Документация для Веб разработчика
Vintasoft.Shared Namespace / WebImageCollectionJS type / changing Event
Синтаксис Совместимость с браузерами Смотрите также
В этом разделе
    changing Событие (WebImageCollectionJS)
    В этом разделе
    Occurs when image collection is changing.
    Синтаксис
    var instance; // Type: WebImageCollectionJS
    instance.changing = function(event) { }
    
    
    changing = function (
    event
    Object that contains information about event. Object has the following properties:
    • target (object): An object that raised the event.
    • type (string): Event name.
    • data (object): An object that contains data, which were specified when subscribing to the event.
    • originalEvent (object): Original event if event was received from DOM-element.
    : object
    eventsArgs
    Object that contains event arguments. Object has the following properties:
    • actionName (string): Action name. Supported values: "clear", "insert", "insertRange", "swap", "removeAt", "removeRange", "set".
    • imageIndex (number): Zero-based image index in collection. Property is defined for actions "insert", "insertRange", "removeAt" and "set".
    • imagesIndexes (object): Indexes of images, that must be removed. Property is defined for actions "removeRange" and "swap".
    • image (object): WebImageJS object, which must be inserted/removed/set. Property is defined for actions "insert", "removeAt" and "set".
    • images (object): WebImageJS objects, which must be inserted/removed. Property is defined for actions "insertRange", "swap", "removeRange" and "clear".
    • previousImage (object): Previous WebImageJS object. Property is defined for action "set".
    : object
    ) { };

    Parameters

    event
    Object that contains information about event. Object has the following properties:
    • target (object): An object that raised the event.
    • type (string): Event name.
    • data (object): An object that contains data, which were specified when subscribing to the event.
    • originalEvent (object): Original event if event was received from DOM-element.
    eventArgs
    Object that contains event arguments. Object has the following properties:
    • actionName (string): Action name. Supported values: "clear", "insert", "insertRange", "swap", "removeAt", "removeRange", "set".
    • imageIndex (number): Zero-based image index in collection. Property is defined for actions "insert", "insertRange", "removeAt" and "set".
    • imagesIndexes (object): Indexes of images, that must be removed. Property is defined for actions "removeRange" and "swap".
    • image (object): WebImageJS object, which must be inserted/removed/set. Property is defined for actions "insert", "removeAt" and "set".
    • images (object): WebImageJS objects, which must be inserted/removed. Property is defined for actions "insertRange", "swap", "removeRange" and "clear".
    • previousImage (object): Previous WebImageJS object. Property is defined for action "set".
    Смотрите также