Class
A mutation event is dispatched for attribute changes. Base Class: Event
getElements, preventDefault, stopPropagation, toSource, toSpecifier
MutationEvent
QuickLinks
Hierarchy
Properties
Property | Type | Access | Description |
---|---|---|---|
attributeName | string | readonly | The name of the property that changed. |
attributeValue | any | readonly | The current value of the property that changed. |
bubbles | bool | readonly | If true, the event supports the bubbling phase of propagation. |
cancelable | bool | readonly | If true, the default behavior of the event on its target can be canceled. |
currentTarget | Object | readonly | The current propagation target of the event. |
defaultPrevented | bool | readonly | If true, the default behavior of the event on its target has been canceled. |
eventPhase | EventPhases: EventPhases.NOT_DISPATCHING EventPhases.AT_TARGET EventPhases.BUBBLING_PHASE EventPhases.DONE |
readonly | The current propagation phase of the event. |
eventType | string | readonly | The name of the event. |
id | number | readonly | The unique ID of the MutationEvent. |
index | number | readonly | The index of the MutationEvent within its containing object. |
isValid | bool | readonly | Returns true if the object specifier resolves to valid objects. |
parent | AnchoredObjectDefault AnchoredObjectSetting AngleCombobox AngleEditbox AnimationBehavior Application AssignedStory Assignment AutoCorrectPreference AutoCorrectTable BackgroundTask BaselineFrameGridOption Behavior BorderPanel BuildingBlock Bullet Button CaptionMetadataVariablePreference Cell CellStyle CellStyleGroup Change ChangeGlyphPreference ChangeGrepPreference ChangeTextPreference ChangeTransliteratePreference ChapterNumberVariablePreference Character CharacterStyle CharacterStyleGroup CheckboxControl ClipboardPreference ClippingPathSettings Color Column Condition ConditionalTextPreference ConditionSet ContourOption CrossReferenceFormat CrossReferenceSource CustomTextVariablePreference DateVariablePreference Dialog DialogColumn DialogRow DictionaryPreference Document DocumentEvent DocumentPreference DocumentPreset Dropdown DTD EnablingGroup EPS EPSText Event EventListener ExcelImportPreference ExportForWebPreference FileNameVariablePreference FindChangeGlyphOption FindChangeGrepOption FindChangeObjectOption FindChangeTextOption FindChangeTransliterateOption FindGlyphPreference FindGrepPreference FindTextPreference FindTransliteratePreference Font Footnote FootnoteOption FormField FrameFittingOption GalleyPreference GalleyPrintPreference GeneralPreference GotoAnchorBehavior GotoFirstPageBehavior GotoLastPageBehavior GotoNextPageBehavior GotoNextStateBehavior GotoNextViewBehavior GotoPageBehavior GotoPreviousPageBehavior GotoPreviousStateBehavior GotoPreviousViewBehavior GotoStateBehavior GotoURLBehavior Gradient GradientStop Graphic GraphicLayer GraphicLayerOption GraphicLine GridPreference Group Guide GuidePreference HiddenText Hyperlink HyperlinkExternalPageDestination HyperlinkPageItemSource HyperlinkTextDestination HyperlinkTextSource HyperlinkURLDestination HyphenationException IDBasedObject IdleEvent IdleTask Image ImageIOPreference ImagePreference IMEPreference ImportedPage ImportedPageAttribute ImportExportEvent InCopyExportOption IndexingSortOption Ink InsertionPoint IntegerCombobox IntegerEditbox KinsokuTable Language LanguageWithVendors Layer LayoutPrintPreference Line Link LinkingPreference LinkMetadata MarginPreference MasterSpread MatchCharacterStylePreference MatchParagraphStylePreference MeasurementCombobox MeasurementEditbox MediaItem Menu MenuAction MenuElement MenuItem MenuSeparator MetadataPreference MixedInk MixedInkGroup MojikumiTable MojikumiUiPreference Movie MovieBehavior MultiStateObject MutationEvent NavigationPoint NestedGrepStyle NestedLineStyle NestedStyle NonIDBasedObject Note NotePreference NumberingList NumberingRestartPolicy Object OpenFileBehavior Oval Page PageItem PageItemDefault PageNumberVariablePreference Panel Paragraph ParagraphDestination ParagraphStyle ParagraphStyleGroup PasteboardPreference Path PathPoint PDFGalleyExportPreference PDFLayoutExportPreference PercentCombobox PercentEditbox PICT PlaceGun Polygon Preference PrintEvent RadiobuttonControl RadiobuttonGroup RealCombobox RealEditbox Rectangle RootObject Row ScriptArg ScriptMenuAction ScriptPreference Section ShowHideFieldsBehavior Sound SoundBehavior SpellPreference SplineItem Spread State StaticText Story StoryPreference StrokeFillProxySetting StrokeStyle Submenu Swatch Table TableStyle TableStyleGroup TabStop TaggedTextExportPreference TaggedTextImportPreference Text TextColumn TextDefault TextEditbox TextEditingPreference TextExportPreference TextFrame TextFramePreference TextImportPreference TextMacro TextPath TextPreference TextStyleRange TextVariable TextVariableInstance TextWrapPreference Tint ToolBox TrackChangesPreference TransformationMatrix TrapPreset UIDBasedObject UserDictionary ValidationError ViewPreference ViewZoomBehavior Widget Window WMF Word WordRTFImportPreference XMLAttribute XMLComment XMLElement XMLExportMap XMLExportPreference XMLImportMap XMLImportPreference XMLInstruction XMLItem XMLPreference XmlStory XMLTag XMLViewPreference |
readonly | The parent of the MutationEvent (a Object, UIDBasedObject, CellStyleGroup, CellStyle, TableStyleGroup, ConditionSet, HiddenText, Condition, AssignedStory, Assignment, NumberingList, Dialog, Swatch, Color, Tint, Gradient, MixedInkGroup, MixedInk, Behavior, GotoPageBehavior, GotoAnchorBehavior, SoundBehavior, ViewZoomBehavior, GotoStateBehavior, GotoPreviousStateBehavior, GotoNextStateBehavior, OpenFileBehavior, AnimationBehavior, ShowHideFieldsBehavior, MovieBehavior, GotoURLBehavior, GotoPreviousViewBehavior, GotoNextViewBehavior, GotoPreviousPageBehavior, GotoNextPageBehavior, GotoLastPageBehavior, GotoFirstPageBehavior, CrossReferenceFormat, HyperlinkURLDestination, HyperlinkExternalPageDestination, HyperlinkTextDestination, ParagraphDestination, HyperlinkTextSource, CrossReferenceSource, HyperlinkPageItemSource, Hyperlink, MenuAction, ScriptMenuAction, CharacterStyleGroup, ParagraphStyleGroup, TextVariableInstance, Footnote, XMLTag, Note, TableStyle, TextPath, Link, Section, MojikumiTable, KinsokuTable, Guide, LanguageWithVendors, Language, PageItem, FormField, MultiStateObject, Button, MediaItem, Sound, Movie, EPSText, SplineItem, Polygon, GraphicLine, Rectangle, Oval, Graphic, ImportedPage, PICT, WMF, PDF, EPS, Image, Group, TextFrame, MasterSpread, TrapPreset, Ink, DocumentPreset, Page, Spread, Layer, CharacterStyle, ParagraphStyle, Story, XmlStory, IDBasedObject, DialogRow, DialogColumn, Widget, BorderPanel, MeasurementEditbox, MeasurementCombobox, RealCombobox, AngleEditbox, PercentEditbox, RealEditbox, PercentCombobox, AngleCombobox, EnablingGroup, IntegerCombobox, IntegerEditbox, RadiobuttonControl, RadiobuttonGroup, CheckboxControl, Dropdown, StaticText, TextEditbox, BackgroundTask, State, XMLItem, DTD, XMLInstruction, XMLComment, XMLElement, Table, Cell, IdleTask, Event, ImportExportEvent, DocumentEvent, MutationEvent, IdleEvent, PrintEvent, EventListener, StrokeStyle, GraphicLayer, NonIDBasedObject, Panel, Window, NavigationPoint, BuildingBlock, IndexingSortOption, TextMacro, MenuElement, MenuSeparator, MenuItem, Submenu, Menu, TextVariable, ValidationError, XMLExportMap, XMLImportMap, XMLAttribute, Row, Column, Change, RootObject, Document, Application, Preference, ConditionalTextPreference, NumberingRestartPolicy, Bullet, TrackChangesPreference, NotePreference, GalleyPrintPreference, LayoutPrintPreference, ClipboardPreference, GeneralPreference, XMLViewPreference, LinkMetadata, MetadataPreference, ExcelImportPreference, TaggedTextImportPreference, TaggedTextExportPreference, WordRTFImportPreference, TextExportPreference, TextImportPreference, GalleyPreference, CaptionMetadataVariablePreference, CustomTextVariablePreference, MatchParagraphStylePreference, MatchCharacterStylePreference, FileNameVariablePreference, DateVariablePreference, ChapterNumberVariablePreference, PageNumberVariablePreference, FootnoteOption, BaselineFrameGridOption, AnchoredObjectSetting, AnchoredObjectDefault, ExportForWebPreference, XMLPreference, XMLExportPreference, XMLImportPreference, InCopyExportOption, LinkingPreference, ChangeTransliteratePreference, ChangeGlyphPreference, ChangeGrepPreference, ChangeTextPreference, FindTransliteratePreference, FindGlyphPreference, FindGrepPreference, FindTextPreference, FindChangeTransliterateOption, FindChangeObjectOption, FindChangeGlyphOption, FindChangeGrepOption, FindChangeTextOption, ScriptArg, ScriptPreference, PlaceGun, StrokeFillProxySetting, ImportedPageAttribute, AutoCorrectPreference, SpellPreference, DictionaryPreference, MojikumiUiPreference, ContourOption, TextWrapPreference, TextEditingPreference, FrameFittingOption, PageItemDefault, PDFLayoutExportPreference, PDFGalleyExportPreference, IMEPreference, GraphicLayerOption, ClippingPathSettings, ImageIOPreference, ImagePreference, ToolBox, ViewPreference, PasteboardPreference, MarginPreference, GuidePreference, GridPreference, DocumentPreference, TextDefault, TextPreference, TextFramePreference, StoryPreference, PathPoint, Path, GradientStop, AutoCorrectTable, UserDictionary, HyphenationException, Font, TransformationMatrix, NestedStyle, TabStop, Text, InsertionPoint, TextStyleRange, Paragraph, TextColumn, Line, Word, Character, NestedGrepStyle or NestedLineStyle). |
propagationStopped | bool | readonly | If true, propagation of the event beyond the current target has been stopped. |
properties | Object | r/w | A property that allows setting of several properties at the same time. |
target | Object | readonly | The target of the event. |
timeStamp | Date | readonly | The time the event was initialized. |
Class
Property | Type | Access | Description |
---|---|---|---|
AFTER_ATTRIBUTE_CHANGED | string | readonly | Dispatched when the value of a property changes on this MutationEvent. This event bubbles. This event is not cancelable. (default: afterAttributeChanged) |
Methods
Instances
Array
of MutationEvent getElements ()
Resolves the object specifier, creating an array of object references.
void preventDefault ()
Cancels the default behavior of the event on its target.
void stopPropagation ()
Stops propagation of the event beyond the current target.
string toSource ()
Generates a string which, if executed, will return the MutationEvent.
Return
Array of MutationEvent MutationEvent.getElements ()
Jongware, 23-Mar-2011 v3.0.3d | Contents :: Index |