VintaSoft Imaging .NET SDK 14.0: Documentation for Web developer
Vintasoft.Imaging.UI.Dialogs Namespace / WebUiDialogJS type / WebUiDialogJS Constructor(WebUiElementJS[],object,object)
Syntax BrowserCompatibility SeeAlso
In This Topic
    WebUiDialogJS Constructor(WebUiElementJS[],object,object)
    In This Topic
    Initializes a new instance of the WebUiDialogJS class.
    Syntax
    // Parameters
    var items; // Type: WebUiElementJS[]
    var settings; // Type: object
    var jQueryDialogSettings; // Type: object
    
    var instance = new Vintasoft.Imaging.UI.Dialogs.WebUiDialogJS(items, settings, jQueryDialogSettings);
    
    
    function WebUiDialogJS(
    items
    An array of WebUiElementJS objects, which must be placed in dialog.
    : WebUiElementJS[],
    settings
    The settings of container for items. The settings parameter has the following properties:
    • cssClass (string): The name of CSS-class or names of CSS-classes, which will be applied to the element. Example: "cssClass:'button remove'".
    • css (object): Object, which contains the names and values of CSS properties. Example: "css:{'width':'100px', 'height':'50px'}".
    • properties (object): Object, which contains the names and values of element attributes. Example: "properties:{'title':'Hello', 'id':'helloId'}"
    • states (object): An instance of WebUiElementStateCollectionJS class.
    • title (string): Shortcut for 'title' attribute of element (equals - "properties:{'title':'some title'}"). Important: If 'states' is defined and active state WebUiElementJS.get_ActiveState has title, the UI element will have title of active state.
    • id (string): Shortcut for 'id' attribute of element (equals - "properties:{'id':'elementId'}").
    • onClick (object): Shortcut for 'click' event callback.
    • onChange (object): Shortcut for 'change' event callback.
    • localizationId (string): Unique localization ID.
    : object,
    jQueryDialogSettings
    The settings of jQuery dialog.
    : object
    ) : WebUiDialogJS;

    Parameters

    items
    An array of WebUiElementJS objects, which must be placed in dialog.
    settings
    The settings of container for items. The settings parameter has the following properties:
    • cssClass (string): The name of CSS-class or names of CSS-classes, which will be applied to the element. Example: "cssClass:'button remove'".
    • css (object): Object, which contains the names and values of CSS properties. Example: "css:{'width':'100px', 'height':'50px'}".
    • properties (object): Object, which contains the names and values of element attributes. Example: "properties:{'title':'Hello', 'id':'helloId'}"
    • states (object): An instance of WebUiElementStateCollectionJS class.
    • title (string): Shortcut for 'title' attribute of element (equals - "properties:{'title':'some title'}"). Important: If 'states' is defined and active state WebUiElementJS.get_ActiveState has title, the UI element will have title of active state.
    • id (string): Shortcut for 'id' attribute of element (equals - "properties:{'id':'elementId'}").
    • onClick (object): Shortcut for 'click' event callback.
    • onChange (object): Shortcut for 'change' event callback.
    • localizationId (string): Unique localization ID.
    jQueryDialogSettings
    The settings of jQuery dialog.
    Browser Compatibility
    56+
    45+
    11
    See Also