Behaviors
This topic documents a feature of Binary Behaviors, which are obsolete as of Internet Explorer 10.
Dynamic HTML (DHTML) behaviors are components that encapsulate specific functionality or behavior on a page. When applied to a standard HTML element on a page, a behavior enhances that element's default behavior. An element behavior enables you to add a custom element to pages. And a ViewLink enables a document tree to be encapsulated in an HTML Component (HTC) file, separate from the content of the main Web page.
Overviews/Tutorials
About Client CapabilitiesWeb developers are constantly searching for ways to design and implement sites that deliver the best user experience possible. One way to enhance user experience is to customize content based on capabilities that the client browser supports. By making this information available on the client, pages can be cached, server roundtrips minimized, server resources freed up as content generation shifts back to the client, and overall performance improved.
About Element BehaviorsElement behaviors are one of the most significant new capabilities in Microsoft Internet Explorer 5.5. They provide the capability to define custom elements, which can be used in the same way as normal HTML elements in a Web page. An element behavior can be written in script using an HTC file, or it can be implemented with a binary DHTML behavior. Element behaviors are encapsulated components, so they can add new and interesting functionality to a Web page while improving the organization of content, functionality, and style.
About the WebService BehaviorThe WebService behavior enables client-side script to invoke remote methods exposed by Web Services, or other Web servers, that support the SOAP and Web Services Description Language (WSDL) 1.1. This behavior provides developers the opportunity to use and leverage SOAP, without requiring expert knowledge of its implementation. The WebService behavior supports the use of a wide variety of data types, including intrinsic SOAP data types, arrays, objects, and XML data. The WebService behavior is implemented with an HTC file as an attached behavior, so it can be used in Internet Explorer 5 and later versions.
About Web Folder BehaviorsThe Web Folder Behaviors available as of Internet Explorer 5 and later allow users to navigate to a folder view, and include support for Distributed Authoring and Versioning (DAV) and Web Extender Client (WEC) protocols. DAV is a series of extensions to the http and defines how basic file functions, such as copy, move, delete, and create folder, are performed across http. WEC is a Microsoft FrontPage protocol that provides the same sort of functionality as DAV, in addition to its own value-added FrontPage features. Both protocols define how to set and retrieve properties on http resources.
Detectable Components in Internet ExplorerThe following table lists the component identifiers that can be detected with Internet Explorer 5.
Installable Components in Internet ExplorerThe following table lists the component identifiers that can be installed with Internet Explorer 5. These identifiers are used with the addComponentRequest method.
Introduction to DHTML BehaviorsOne of the most exciting new features introduced in Internet Explorer 5.5 is DHTML behaviors. DHTML behaviors are components that encapsulate specific functionality or behavior on a page. When applied to a standard HTML element on a page, a behavior enhances that element's default behavior.
Introduction to PersistencePersistence enables authors to specify an object to persist on the client during the current and later sessions using DHTML behaviors. Persistence allows Internet Explorer 5 and later to retain Web page information, styles, variables, and state.
Persisting Collapsible Table of Contents StateWeb pages that employ a collapsible table of contents tend to share a single problem: when a user leaves the page, the table of contents reverts to its original state. For anyone trying to navigate through these nested references, it is frustrating to leave the page and return, only to have to wade through the table of contents again. Persistence behavior provides a solution to this problem.
Persisting Custom and Dynamic StylesDynamic and custom styles selected at run time by the user can be persisted when the page is saved as a favorite using the saveFavorite behavior.
Persisting Form DataUsing HTML to design forms comes with some drawbacks, namely the need for a server or client-side script to process the form data. The saveSnapshot behavior can be used to save a Web page and persist the form data directly within the page itself. This allows a larger audience to use Web forms for day-to-day activities without needing a special script to process and deliver the information.
Persisting Session InformationSession information is usually recorded for sites that use multiple pages to accomplish a task, such as virtual shopping carts and advanced search engines. Pages that employ these variables and files can easily swell to a very large size while they juggle delivering a Web page and processing the surrounding scripts. Persistence allows most of this information to be stored on the client, thus decreasing download time and the performance hit to the server's processor(s).
Security Considerations: DHTML and Default BehaviorsThis document provides information about security considerations related to DHTML behaviors.
Time FormatsLists the possible formats for expressing time values.
Using Custom Tags in Internet ExplorerThis article discusses the benefits of defining custom tags in a document, as well as the details involved in using them on a page.
Using DHTML BehaviorsApplying a behavior to an element is as easy as attaching a style to an element on a page. This article covers the different approaches and considerations to applying a behavior to standard HTML elements. In addition, it presents some interesting applications of behaviors in Internet Explorer 5 and later. After reading the article, you'll be able to start applying behaviors to your own pages, isolate script from your content, and take advantage of the resulting cleaner pages.
Using HTML Components to Implement DHTML Behaviors in ScriptThis article outlines the steps for using HTC files to create behaviors in script.
Using the literalContent AttributeThis overview introduces you to the literalContent attribute of the PUBLIC:COMPONENT element and describes some of the ways you can use it to enhance your Web pages. Use the PUBLIC:COMPONENT element when you define an HTC and when you define the primary characteristics of a DHTML behavior. You can implement a DHTML behavior as an attached behavior, which modifies the behavior of an existing element, or as an element behavior, which defines a custom element. Use the literalContent attribute when defining an element behavior to specify whether MSHTML parses the content inside the custom element.
Using the WebService BehaviorThis article explains how to use the WebService behavior to call remote methods from Web Services. The WebService behavior is implemented with an HTC file as an attached behavior, so it can be used in Internet Explorer 5 and later versions. Most of this article focuses on how to use the WebService behavior, but it also touches briefly on Web Services that are used by the WebService behavior. The About the WebService Behavior provides additional discussion and information on the main benefits and features of the WebService behavior; it also provides numerous links to related Web sites.
WebService Behavior: Supported Data TypesThis document describes the ASP.NET and XML data types supported by the WebService behavior.
Attributes and Properties
asyncSpecifies the mode of remote method invocation.
availHeight
Obsolete. Retrieves the height of the working area of the system's screen, excluding the Windows taskbar.
availWidth
Obsolete. Retrieves the width of the working area of the system's screen, excluding the Windows taskbar.
avoidMouseSets or retrieves whether the ToolTip behavior moves away from the mouse cursor.
backgroundColor
Sets or retrieves the container background color of the mpc behavior.
behaviorGets or sets the location of the DHTML behavior.
bufferDepth
Deprecated. Retrieves the number of bits per pixel used for colors on the off-screen bitmap buffer.
buttonHeightSpecifies the height of buttons within the coolbar behavior.
buttonWidthSpecifies the width of buttons within the coolbar behavior.
calCurrentMonthBackgroundColorSets or retrieves the background color of the current month for the calendar behavior.
calCurrentMonthColorSets or retrieves the color of the current month for the calendar behavior.
calCurrentMonthFontFamilySets or retrieves the name of the font used for the active month cells in the calendar behavior.
calCurrentMonthFontSizeSets or retrieves the size of the font used for the current month in the calendar behavior.
calCurrentMonthFontWeightSets or retrieves the weight of the font used for the current month in the calendar behavior.
calCurrentMonthTextAlignSets or retrieves whether the text is left-aligned, right-aligned, centered, or justified for the current month in the calendar behavior.
calCurrentMonthVerticalAlignSets or retrieves the vertical alignment of text in the cells of the current month for the calendar behavior.
calDaytitleBackgroundColorSets or retrieves the background color of the title field where the days of the week are listed for the calendar behavior.
calDaytitleColorSets or retrieves the color of the days of the week for the calendar behavior.
calDaytitleFontFamilySets or retrieves the name of the font used for the calendar behavior.
calDaytitleFontSizeSets or retrieves the size of the font used for the names of the days of the week in the calendar behavior.
calDaytitleFontWeightSets or retrieves the weight of the font used for the names of the days of the week in the calendar behavior.
calDaytitleTextAlignSets or retrieves whether the text is left-aligned, right-aligned, centered, or justified for the calendar behavior.
callOffMonthBackgroundColorSets or retrieves the background color of the previous and next months for the calendar behavior.
calOffMonthColorSets or retrieves the color of the days of the week in the previous and next months for the calendar behavior.
calOffMonthFontFamilySets or retrieves the name of the font used in the previous and next month fields for the calendar behavior.
calOffMonthFontSizeSets or retrieves the size of the font used for the calendar behavior.
calOffMonthFontWeightSets or retrieves the weight of the font used for the previous and next months in the calendar behavior.
calOffMonthTextAlignSets or retrieves whether the text is left-aligned, right-aligned, centered, or justified for the calendar behavior.
calOffMonthVerticalAlignSets or retrieves the vertical alignment of text in the cells of the previous and next months for the calendar behavior.
calSelectedDayBackgroundColorSets or retrieves the background color of the selected day for the calendar behavior.
calSelectedDayColorSets or retrieves the color of the selected day for the calendar behavior.
calSelectedDayFontFamilySets or retrieves the name of the font used for the selected day in the calendar behavior.
calSelectedDayFontSizeSets or retrieves the size of the font used for the selected day in the calendar behavior.
calSelectedDayFontWeightSets or retrieves the weight of the font used for the selected day in the calendar behavior.
calSelectedDayTextAlignSets or retrieves whether the text is left-aligned, right-aligned, centered, or justified for the selected day in the calendar behavior.
calSelectedDayVerticalAlignSets or retrieves the vertical alignment of text in the cells of the selected day for the calendar behavior.
calTitleColorSets or retrieves the title color style for the calendar behavior.
calTitleFontFamilySets or retrieves the name of the font used for the calendar behavior.
calTitleFontSizeSets or retrieves the size of the font used for the calendar behavior.
calTitleFontWeightSets or retrieves the weight of the font used for the calendar behavior.
calTitleTextAlignSets or retrieves whether the calendar title is left-aligned, right-aligned, centered, or justified for the calendar behavior.
canHaveHTMLGets or sets the value indicating whether the object can contain rich HTML markup.
cbBorderStyleSpecifies the rendered border style for the coolbutton behavior.
cbBorderWidthSpecifies the width of the button border for the coolbutton behavior.
cbHoverBackgroundSpecifies the color of the background to display when the mouse cursor hovers over the coolbutton behavior.
cbHoverBorderSpecifies the border to display when the mouse cursor hovers over the coolbutton behavior.
cbHoverColorSpecifies the color of the text to display when the mouse cursor hovers over the coolbutton behavior.
cbSelectedBackgroundSpecifies the color of the background to display when the coolbutton behavior is selected.
cbSelectedBorderSpecifies the border to display when the coolbutton behavior is selected.
codeA machine-readable error code that corresponds to a specific invocation of the callService method.
color
Sets or retrieves the container text color of the mpc behavior.
colorDepth
Deprecated. Retrieves the number of bits per pixel used for colors on the destination device or buffer.
connectionType
Obsolete. Retrieves the type of connection in use.
contentEditableSets or retrieves the string that indicates whether the user can edit the content of the object.
cookieEnabled
Obsolete. Specifies whether client-side cookies are enabled in the browser.
cpCellHeightSets or retrieves the height of individual colors displayed by the colorpick behavior.
cpCellWidthSets or retrieves the width of individual colors displayed by the colorpick behavior.
cpGridHeightSets or retrieves the height of the colorpick behavior.
cpGridSizeSets or retrieves the number of colors that are displayed by the colorpick behavior.
cpGridStyleSets or retrieves the borderWidth, borderStyle, and borderColor properties to be drawn around the individual colors of the colorpick behavior.
cpGridWidthSets or retrieves the width of the colorpick behavior.
cpHoverStyleSets or retrieves the borderWidth, borderStyle, and borderColor properties to be drawn when the mouse cursor hovers over a particular color.
cpSelectedStyleSets or retrieves the borderWidth, borderStyle, and borderColor properties to be drawn around a selected color in the colorpick behavior.
cpuClass
Obsolete. Retrieves a string representing the CPU class.
dataFldTextSets or retrieves the name of the field used for the visible text of the dataselect behavior options.
dataFldValueSets or retrieves the name of the field used for the value of the dataselect behavior options.
dataSrcSets or retrieves the source of the data for the dataselect behavior.
dayReturns the selected day for the calendar behavior.
dayLengthSets or retrieves the length of the days for the calendar behavior.
delaySets or retrieves the amount of time, in milliseconds, before showing the ToolTip.
directionSpecifies the direction in which an element can be moved for the movable behavior.
durationSets or retrieves how long the ToolTip is displayed, in seconds.
dynamicSpecifies whether the onchange event continually fires while the slider is in motion.
elementSets or retrieves the ID attribute of the object that uses the ToolTip behavior.
endpointA property of the call object that specifies an URL that can be used to obtain the WSDL for a Web Service.
errorA Boolean property created by the WebService behavior after calling the callService method.
expiresSets or retrieves the expiration date of data persisted with the userData behavior.
firstDaySets or retrieves the day of the week to display in the first column for the calendar behavior.
folderSets or retrieves a namespace extension, address, or path.
funcNameSpecifies the name of a remote function exposed by a Web Service.
gridCellEffectSpecifies how the grid lines are rendered for the calendar behavior.
gridLinesColorSpecifies the color of the grid lines for the calendar behavior.
groupSpecifies that the button belongs to a group that acts exclusively for the coolbutton behavior.
height
Sets or retrieves the container height of the mpc behavior.
height
Obsolete. Retrieves the vertical resolution of the screen.
hoverImageSpecifies the image source to display when the mouse hovers over the coolbutton behavior.
hoverSrcSpecifies the image source to display when the mouse cursor hovers over an object.
idA property of the result object that has a unique value which corresponds to a specific execution of the callService method.
imageSpecifies the image source to display for the coolbutton behavior.
image
Sets or retrieves the Microsoft DirectAnimation Image (DAImage class) displayed by the anim:DA element.
imgCloseSpecifies the source path of the image to display when a menu is expanded for the menu behavior.
imgExpandSpecifies the source path of the image to display when a menu is closed for the menu behavior.
isMultiLineRetrieves the value indicating whether the content of the object contains one or more lines.
javaEnabled
Obsolete. Retrieves whether the Microsoft virtual machine (Microsoft VM) is enabled.
masterStateRetrieves whether the overall state of the menu is closed or expanded for the menu behavior.
maxSets or retrieves the highest value on a continuous range of possible values for the slider behavior.
minSets or retrieves the lowest value on a continuous range of possible values for the slider behavior.
monthSpecifies the current month for the calendar behavior.
monthLengthSpecifies the length of the month names for the calendar behavior.
movableSpecifies whether the element can be moved for the movable behavior.
mvBoundarySets or retrieves the boundaries that the object can move within based on a composite value of the mv--boundary-left, mv--boundary-top, mv--boundary-right, and mv--boundary-bottom attributes for the movable behavior.
mvBoundaryBottomSets or retrieves the bottom boundary that an object can move within for the movable behavior.
mvBoundaryLeftSets or retrieves the left boundary that an object can move within for the movable behavior.
mvBoundaryRightSets or retrieves the right boundary that an object can move within for the movable behavior.
mvBoundaryTopSets or retrieves the top boundary that an object can move within for the movable behavior.
mvGridSets or retrieves the composite values (mv--grid-rows, mv--grid-cols) of the horizontal and vertical grid the element snaps to when the SNAPABLE attribute is enabled for the movable behavior.
mvGridColsSets or retrieves the distance, in pixels, between columns of the grid that elements snap to when the SNAPABLE attribute is enabled for the movable behavior.
mvGridRowsSets or retrieves the distance, in pixels, between rows of the grid that elements snap to when the SNAPABLE attribute is enabled for the movable behavior.
mvIndentSets or retrieves the indentation for each menu level in the menu behavior.
nameSets or retrieves the name of the colorpick behavior.
nameRetrieves the name of the namespace.
paramsA property of the call object that specifies an associative array of parameter values.
passwordSpecifies a password for Web Services that require user authentication.
platform
Obsolete. Retrieves the platform on which the browser is running.
portNameSpecifies a port name that is used to access resources provided by a Web Service.
presetSets or retrieves a preset input mask for the mask behavior.
pressedSrcSpecifies the new image source to display when the img object is clicked.
rawExposes the raw SOAP data packet returned by the Web Service after invoking the callService method.
readOnlySets or retrieves whether the keyboard and mouse are disabled for the calendar behavior.
reuseConnectionSpecifies the persistence of the connection information required by Web services that use Secure Sockets Layer (SSL) authentication.
roHoverBackgroundSets or retrieves the background color displayed when the mouse cursor hovers over a table row for the rowover behavior.
roHoverColorSets or retrieves the text color for the highlighted table row when using the rowover behavior.
roLightBackgroundSets or retrieves the light color for alternately striped table rows when using the rowover behavior.
roSelectedBackgroundSets or retrieves the background color for the selected table row when using the rowover behavior.
roSelectedColorSets or retrieves the text color for the selected table row when using the rowover behavior.
roShadeBackgroundSets or retrieves the shade color for alternately striped table rows when using the rowover behavior.
selectableSpecifies whether the contents of the element can be selected for the movable behavior.
selectableSets or retrieves whether clicking a table row selects the contents for all cells in the row when using the rowover behavior.
selectedIndex
Sets or retrieves the selected tab of the mpc behavior.
serviceAvailableIndicates whether the WSDL information was returned successfully from an invocation of the useService method.
serviceUrlSpecifies the URL of a Web Service.
showDateSelectorsSets or retrieves whether the date selectors should be displayed for the calendar behavior.
showDaysSets or retrieves whether the days of the week should be displayed for the calendar behavior.
showHorizontalGridSets or retrieves whether horizontal grid lines are displayed for the calendar behavior.
showTitleSets or retrieves whether the month and year are displayed as a title for the calendar behavior.
showVerticalGridSets or retrieves whether vertical grid lines are displayed for the calendar behavior.
sizeAllSpecifies the width of buttons within the coolbar behavior.
slBarColorSets or retrieves the background color of the slider bar.
slOrientationSets or retrieves whether the slider bar for the slider behavior will render horizontally or vertically.
slSnapSpecifies whether the slider is automatically positioned over the nearest tick mark when the mouse button is released.
slTickColorSets or retrieves the color of the ticks for the slider behavior.
slTickStyleSets or retrieves the location of the ticks for the slider behavior.
snapableSpecifies whether the element snaps to a grid when the ondragend event fires for the movable behavior.
SOAPHeaderAn Array of SOAP headers that overrides the default SOAP header generated by the WebService behavior.
sound
Sets or retrieves the DirectAnimation sound (DASound class) played by the anim:DA element.
stateRetrieves whether the button is pressed for the coolbutton behavior.
stateRetrieves whether the state of a particular menu is closed or expanded for the menu behavior.
statics
Retrieves an object containing the DAStatics class library used with DirectAnimation.
stringA human-readable error message that corresponds to a specific invocation of the callService method.
stripedSets or retrieves whether alternate table rows are shaded for the rowover behavior.
systemLanguage
Obsolete. Retrieves the default language that the system is running.
tabStopSets or retrieves whether an element behavior can receive focus and participate in the tabbing sequence.
tabText
Sets or retrieves the text displayed in the multipage tab of the mpc behavior.
tabTitle
Sets or retrieves the text displayed as a ToolTip in the multipage tab of the mpc behavior.
targetSets or retrieves the name of a window or frame that is the target for navigation.
tdTabOrientation
Sets or retrieves the location of the tabs within the container of the mpc behavior.
tickIntervalSets or retrieves the number of ticks representing one unit of value for the slider behavior.
tickNumberSets or retrieves the total number of ticks on the slider behavior.
timeoutNot supported.
typeSets or retrieves the ToolTip that is displayed when the mouse hovers over the coolbutton behavior.
userLanguage
Obsolete. Retrieves the current user language.
userNameSpecifies a user name for Web Services that require user authentication.
userNameRetrieves the sFriendlyName parameter that is passed to the useService method.
valueSets or retrieves the current date for the calendar behavior.
valueSets or retrieves the value of the colorpick behavior.
valueSets or retrieves the initial selected option in the dataselect behavior.
valueA property of the result object that is created at run time.
valueIsNullSets or retrieves whether the current date is selected for the calendar behavior.
viewInheritStyleSets or retrieves a value that indicates whether the document fragment inherits the Cascading Style Sheets (CSS) styles set in the primary document.
viewLinkSets or retrieves the document object that supplies content to the master element.
viewLinkContentDeclares the element behavior as a document fragment.
viewMasterTab
Sets or retrieves a value that indicates whether the master element of a viewlink is included in the tab sequence of the primary document.
width
Sets or retrieves the container width of the mpc behavior.
width
Obsolete. Retrieves the horizontal resolution of the screen.
WSDLThe WSDL returned by a Web Service after an invocation of the useService method.
XMLDocumentRetrieves a reference to the XML
XMLNSDeclares a namespace for custom tags in an HTML document.
yearSets or retrieves the current year for the calendar behavior.
Events
onchangeFires when the color is changed for the colorpick behavior.
onchange
Fires when a tab is selected for the mpc behavior.
onchangeFires when the value of the slider behavior changes.
oncloseallFires when all entries in the menu are closed by invoking the closeAll method for the menu behavior.
onclosenodeFires when a menu node is closed for the menu behavior.
ondatasetcompleteFires when the dataselect behavior populates the contents of a select element.
ondragFires for the movable behavior when the user continuously drags an element.
ondragendFires on the element for the movable behavior when the user ends a drag operation.
ondragstartFires on the element for the movable behavior when the user first starts a drag operation.
onerrorFires when a property is assigned an invalid value, or the property is read-only, for the colorpick behavior.
onerrorFires when a property is assigned an invalid value, or the property is read-only, for the mask behavior.
onerrorFires when a property is assigned an invalid value, or the property is read-only, for the menu behavior.
onerrorFires when a property is assigned an invalid value, or the property is read-only, for the movable behavior.
onerrorFires when a property is assigned an invalid value, or the property is read-only, for the rowover behavior.
onerrorFires when an incorrect value is set for the slider behavior changes.
onerrorFires when a property is assigned an invalid value, or the property is read-only, for the ToolTip behavior.
onexpandallFires when all entries in the menu are expanded by invoking the expandAll method for the menu behavior.
onexpandnodeFires when a menu node is expanded for the menu behavior.
onfocus
Fires when a tab is selected for the mpc behavior.
onhideFires when the ToolTip behavior is no longer visible.
onload
Fires from a persistent element when the page reloads.
onpropertychangeFires when a property value is changed for the calendar behavior.
onresultFires when a result has been received from a remote method callService using the WebService behavior.
onrowclickFires when a table row is selected for the rowover behavior.
onrowoutFires when the mouse cursor exits a row for the rowover behavior.
onrowoverFires when the mouse cursor enters a row for the rowover behavior.
onsave
Fires from a persisted element when the Web page is saved or bookmarked, or when the user navigates away from the page.
onserviceavailableFires after the WebService behavior has attempted to obtain the WSDL from a Web Service.
onshowFires when the ToolTip is displayed for the ToolTip behavior.
Methods
addCreates a new namespace object and adds it to the collection.
addBehaviorAttaches a behavior to the element.
addComponentRequest
Obsolete. Adds the specified component to the queue of components to be installed.
addDABehavior
Adds a DirectAnimation behavior (DABehavior class) to the run list when the behavior is not part of the animation model.
callServiceCalls a method that is implemented on a Web Service.
clearComponentRequest
Obsolete. Clears the queue of all component download requests.
closeAllCloses all menu items for the menu behavior.
closeNodeCloses the specified menu node for the menu behavior.
compareVersions
Obsolete. Compares two version numbers.
createCallOptionsCreates an instance of call object that can be passed as a parameter to the callService method.
createUseOptionsCreates a useOptions object that can be passed as a parameter to the useService method.
detachEventUnbinds the specified function from the event, so that the function stops receiving notifications when the event fires.
doComponentRequest
Downloads all the components that have been queued using addComponentRequest.
doImportDynamically imports an element behavior.
expandAllExpands all menu items for the menu behavior.
expandNodeExpands the specified menu node for the menu behavior.
getAttributeRetrieves the value of the specified attribute.
getComponentVersion
Obsolete. Retrieves the version of the specified component.
isComponentInstalled
Retrieves whether the specified component is available.
isHomePage
Deprecated. Determines whether the specified URL refers to the client's home page.
loadLoads an object participating in userData persistence from a UserData store.
moveToMoves the upper-left corner of the element to the specified location for the movable behavior.
navigate
Navigates the window to the specified location and displays the contents in folder view.
navigateFrame
Navigates the window or frame to the specified location and displays the contents in folder view.
navigateHomePage
Navigates the browser to a user's home page.
removeAttributeRemoves the specified attribute from the object.
removeBehaviorDetaches a behavior from the element.
removeDABehavior
Removes a DirectAnimation behavior (DABehavior) class added by the addDABehavior method.
resetUnselects the selected table row for the rowover behavior.
saveSaves an object participating in userData persistence to a UserData store.
setAttributeSets the value of the specified attribute.
setHomePage
Deprecated. Sets a user's home page to the specified value.
snapToGridSnaps the element to the grid as defined by the mv--grid attribute for the movable behavior.
startDownloadDownloads the specified file.
urnsRetrieves a collection of all objects to which a specified behavior is attached.
useServiceEstablishes a friendly name for a Web Service URL that can be referenced from script.
Collections
behaviorUrnsReturns a collection of Uniform Resource Name (URN) strings identifying the behaviors attached to the element.
namespacesRetrieves a collection of namespace objects.
Elements and Objects
callA script object that can be passed as a parameter to the callService method.
defaultsProgrammatically sets default properties on an element behavior.
errorDetailThis object is exposed by the result object if an error is encountered from an invocation of the callService method. The properties of errorDetail provide detailed information and diagnostics on the error.
namespaceDynamically imports an element behavior into a document.
resultThis object exposes the results and brief diagnostics for an invocation of the callService method.
useOptionsAn object that can be passed as a parameter to the useService method.