UNPKG

@danielkalen/simplybind

Version:

Magically simple, framework-less one-way/two-way data binding for frontend/backend in ~5kb.

1 lines 196 kB
{"name":"aurelia-templating","children":[{"id":99,"name":"Animator","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"An abstract class representing a mechanism for animating the DOM during various DOM state transitions."},"children":[{"id":110,"name":"addClass","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":111,"name":"addClass","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Add a class to an element to trigger an animation.","returns":"Resolved when the animation is done\n"},"parameters":[{"id":112,"name":"element","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"Element to animate"},"type":{"type":"reference","name":"HTMLElement"}},{"id":113,"name":"className","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"Properties to animate or name of the effect to use"},"type":{"type":"instrinct","name":"string"}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"instrinct","name":"boolean"}]}}]},{"id":114,"name":"animate","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":115,"name":"animate","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Execute a single animation.","returns":"Resolved when the animation is done\n"},"parameters":[{"id":116,"name":"element","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"Element to animate"},"type":{"type":"union","types":[{"type":"reference","name":"HTMLElement"},{"type":"reference","name":"Array","typeArguments":[{"type":"reference","name":"HTMLElement"}]}]}},{"id":117,"name":"className","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"Properties to animate or name of the effect to use. For css animators this represents the className to be added and removed right after the animation is done."},"type":{"type":"instrinct","name":"string"}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"instrinct","name":"boolean"}]}}]},{"id":100,"name":"enter","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":101,"name":"enter","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Execute an 'enter' animation on an element","returns":"Resolved when the animation is done\n"},"parameters":[{"id":102,"name":"element","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"Element to animate"},"type":{"type":"reference","name":"HTMLElement"}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"instrinct","name":"boolean"}]}}]},{"id":103,"name":"leave","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":104,"name":"leave","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Execute a 'leave' animation on an element","returns":"Resolved when the animation is done\n"},"parameters":[{"id":105,"name":"element","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"Element to animate"},"type":{"type":"reference","name":"HTMLElement"}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"instrinct","name":"boolean"}]}}]},{"id":121,"name":"registerEffect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":122,"name":"registerEffect","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Register an effect (for JS based animators)"},"parameters":[{"id":123,"name":"effectName","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"identifier of the effect"},"type":{"type":"instrinct","name":"string"}},{"id":124,"name":"properties","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"Object with properties for the effect\n"},"type":{"type":"reference","name":"Object"}}],"type":{"type":"instrinct","name":"void"}}]},{"id":106,"name":"removeClass","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":107,"name":"removeClass","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Add a class to an element to trigger an animation.","returns":"Resolved when the animation is done\n"},"parameters":[{"id":108,"name":"element","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"Element to animate"},"type":{"type":"reference","name":"HTMLElement"}},{"id":109,"name":"className","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"Properties to animate or name of the effect to use"},"type":{"type":"instrinct","name":"string"}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"instrinct","name":"boolean"}]}}]},{"id":118,"name":"runSequence","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":119,"name":"runSequence","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Run a sequence of animations one after the other.\nfor example: animator.runSequence(\"fadeIn\",\"callout\")","returns":"Resolved when all animations are done\n"},"parameters":[{"id":120,"name":"animations","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"Array","typeArguments":[{"type":"instrinct","name":"any"}]}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"instrinct","name":"boolean"}]}}]},{"id":125,"name":"unregisterEffect","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":126,"name":"unregisterEffect","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Unregister an effect (for JS based animators)"},"parameters":[{"id":127,"name":"effectName","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"identifier of the effect\n"},"type":{"type":"instrinct","name":"string"}}],"type":{"type":"instrinct","name":"void"}}]}],"groups":[{"title":"Methods","kind":2048,"children":[110,114,100,103,121,106,118,125]}]},{"id":211,"name":"BehaviorInstruction","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Indicates how a custom attribute or element should be instantiated in a view."},"children":[{"id":246,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of BehaviorInstruction."},"signatures":[{"id":247,"name":"new BehaviorInstruction","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of BehaviorInstruction."},"type":{"type":"reference","name":"BehaviorInstruction","id":211}}]},{"id":220,"name":"anchorIsContainer","kind":1024,"kindString":"Property","flags":{"isExported":true},"type":{"type":"instrinct","name":"boolean"}},{"id":224,"name":"attrName","kind":1024,"kindString":"Property","flags":{"isExported":true},"type":{"type":"instrinct","name":"string"}},{"id":222,"name":"attributes","kind":1024,"kindString":"Property","flags":{"isExported":true},"type":{"type":"reference","name":"Object"}},{"id":218,"name":"contentFactory","kind":1024,"kindString":"Property","flags":{"isExported":true},"type":{"type":"instrinct","name":"any"}},{"id":213,"name":"enhance","kind":1024,"kindString":"Property","flags":{"isExported":true},"type":{"type":"instrinct","name":"boolean"}},{"id":221,"name":"host","kind":1024,"kindString":"Property","flags":{"isExported":true},"type":{"type":"reference","name":"Element"}},{"id":225,"name":"inheritBindingContext","kind":1024,"kindString":"Property","flags":{"isExported":true},"type":{"type":"instrinct","name":"boolean"}},{"id":212,"name":"initiatedByBehavior","kind":1024,"kindString":"Property","flags":{"isExported":true},"type":{"type":"instrinct","name":"boolean"}},{"id":216,"name":"originalAttrName","kind":1024,"kindString":"Property","flags":{"isExported":true},"type":{"type":"instrinct","name":"string"}},{"id":214,"name":"partReplacements","kind":1024,"kindString":"Property","flags":{"isExported":true},"type":{"type":"instrinct","name":"any"}},{"id":217,"name":"skipContentProcessing","kind":1024,"kindString":"Property","flags":{"isExported":true},"type":{"type":"instrinct","name":"boolean"}},{"id":223,"name":"type","kind":1024,"kindString":"Property","flags":{"isExported":true},"type":{"type":"reference","name":"HtmlBehaviorResource","id":851}},{"id":215,"name":"viewFactory","kind":1024,"kindString":"Property","flags":{"isExported":true},"type":{"type":"reference","name":"ViewFactory","id":676}},{"id":219,"name":"viewModel","kind":1024,"kindString":"Property","flags":{"isExported":true},"type":{"type":"reference","name":"Object"}},{"id":226,"name":"normal","kind":1024,"kindString":"Property","flags":{"isStatic":true,"isExported":true},"comment":{"shortText":"A default behavior used in scenarios where explicit configuration isn't available."},"type":{"type":"reference","name":"BehaviorInstruction","id":211}},{"id":237,"name":"attribute","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":238,"name":"attribute","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Creates a custom attribute instruction.","returns":"The created instruction.\n"},"parameters":[{"id":239,"name":"attrName","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The name of the attribute."},"type":{"type":"instrinct","name":"string"}},{"id":240,"name":"type","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The HtmlBehaviorResource to create."},"type":{"type":"reference","name":"HtmlBehaviorResource","id":851}}],"type":{"type":"reference","name":"BehaviorInstruction","id":211}}]},{"id":241,"name":"dynamic","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":242,"name":"dynamic","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Creates a dynamic component instruction.","returns":"The created instruction.\n"},"parameters":[{"id":243,"name":"host","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The element that will parent the dynamic component."},"type":{"type":"reference","name":"Element"}},{"id":244,"name":"viewModel","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The dynamic component's view model instance."},"type":{"type":"reference","name":"Object"}},{"id":245,"name":"viewFactory","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"A view factory used in generating the component's view."},"type":{"type":"reference","name":"ViewFactory","id":676}}],"type":{"type":"reference","name":"BehaviorInstruction","id":211}}]},{"id":233,"name":"element","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":234,"name":"element","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Creates a custom element instruction.","returns":"The created instruction.\n"},"parameters":[{"id":235,"name":"node","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The node that represents the custom element."},"type":{"type":"reference","name":"Node"}},{"id":236,"name":"type","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The HtmlBehaviorResource to create."},"type":{"type":"reference","name":"HtmlBehaviorResource","id":851}}],"type":{"type":"reference","name":"BehaviorInstruction","id":211}}]},{"id":227,"name":"enhance","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":228,"name":"enhance","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Creates an instruction for element enhancement.","returns":"The created instruction.\n"},"type":{"type":"reference","name":"BehaviorInstruction","id":211}}]},{"id":229,"name":"unitTest","kind":2048,"kindString":"Method","flags":{"isStatic":true,"isExported":true},"signatures":[{"id":230,"name":"unitTest","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Creates an instruction for unit testing.","returns":"The created instruction.\n"},"parameters":[{"id":231,"name":"type","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The HtmlBehaviorResource to create."},"type":{"type":"reference","name":"HtmlBehaviorResource","id":851}},{"id":232,"name":"attributes","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"A key/value lookup of attributes for the behaior."},"type":{"type":"reference","name":"Object"}}],"type":{"type":"reference","name":"BehaviorInstruction","id":211}}]}],"groups":[{"title":"Constructors","kind":512,"children":[246]},{"title":"Properties","kind":1024,"children":[220,224,222,218,213,221,225,212,216,214,217,223,215,219,226]},{"title":"Methods","kind":2048,"children":[237,241,233,227,229]}]},{"id":812,"name":"BehaviorPropertyObserver","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"An implementation of Aurelia's Observer interface that is used to back bindable properties defined on a behavior."},"children":[{"id":813,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of BehaviorPropertyObserver."},"signatures":[{"id":814,"name":"new BehaviorPropertyObserver","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of BehaviorPropertyObserver."},"parameters":[{"id":815,"name":"taskQueue","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The task queue used to schedule change notifications."},"type":{"type":"reference","name":"TaskQueue"}},{"id":816,"name":"obj","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The object that the property is defined on."},"type":{"type":"reference","name":"Object"}},{"id":817,"name":"propertyName","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The name of the property."},"type":{"type":"instrinct","name":"string"}},{"id":818,"name":"selfSubscriber","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The callback function that notifies the object which defines the properties, if present."},"type":{"type":"reference","name":"Function"}},{"id":819,"name":"initialValue","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The initial value of the property.\n"},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"reference","name":"BehaviorPropertyObserver","id":812}}]},{"id":825,"name":"call","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":826,"name":"call","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Invoked by the TaskQueue to publish changes to subscribers."},"type":{"type":"instrinct","name":"void"}}]},{"id":820,"name":"getValue","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":821,"name":"getValue","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Gets the property's value."},"type":{"type":"instrinct","name":"any"}}]},{"id":822,"name":"setValue","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":823,"name":"setValue","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Sets the property's value."},"parameters":[{"id":824,"name":"newValue","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The new value to set.\n"},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"instrinct","name":"void"}}]},{"id":827,"name":"subscribe","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":828,"name":"subscribe","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Subscribes to the observerable."},"parameters":[{"id":829,"name":"context","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"A context object to pass along to the subscriber when it's called."},"type":{"type":"instrinct","name":"any"}},{"id":830,"name":"callable","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"A function or object with a \"call\" method to be invoked for delivery of changes.\n"},"type":{"type":"reference","name":"Function"}}],"type":{"type":"instrinct","name":"void"}}]},{"id":831,"name":"unsubscribe","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":832,"name":"unsubscribe","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Unsubscribes from the observerable."},"parameters":[{"id":833,"name":"context","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The context object originally subscribed with."},"type":{"type":"instrinct","name":"any"}},{"id":834,"name":"callable","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The callable that was originally subscribed with.\n"},"type":{"type":"reference","name":"Function"}}],"type":{"type":"instrinct","name":"void"}}]}],"groups":[{"title":"Constructors","kind":512,"children":[813]},{"title":"Methods","kind":2048,"children":[825,820,822,827,831]}]},{"id":835,"name":"BindableProperty","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Represents a bindable property on a behavior."},"children":[{"id":836,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of BindableProperty."},"signatures":[{"id":837,"name":"new BindableProperty","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of BindableProperty."},"parameters":[{"id":838,"name":"nameOrConfig","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The name of the property or a cofiguration object.\n"},"type":{"type":"union","types":[{"type":"instrinct","name":"string"},{"type":"reference","name":"Object"}]}}],"type":{"type":"reference","name":"BindableProperty","id":835}}]},{"id":848,"name":"createObserver","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":849,"name":"createObserver","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Creates an observer for this property.","returns":"The property observer.\n"},"parameters":[{"id":850,"name":"viewModel","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The view model instance on which to create the observer."},"type":{"type":"reference","name":"Object"}}],"type":{"type":"reference","name":"BehaviorPropertyObserver","id":812}}]},{"id":844,"name":"defineOn","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":845,"name":"defineOn","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Defines this property on the specified class and behavior."},"parameters":[{"id":846,"name":"target","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The class to define the property on."},"type":{"type":"reference","name":"Function"}},{"id":847,"name":"behavior","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The behavior to define the property on.\n"},"type":{"type":"reference","name":"HtmlBehaviorResource","id":851}}],"type":{"type":"instrinct","name":"void"}}]},{"id":839,"name":"registerWith","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":840,"name":"registerWith","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Registers this bindable property with particular Class and Behavior instance."},"parameters":[{"id":841,"name":"target","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The class to register this behavior with."},"type":{"type":"reference","name":"Function"}},{"id":842,"name":"behavior","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The behavior instance to register this property with."},"type":{"type":"reference","name":"HtmlBehaviorResource","id":851}},{"id":843,"name":"descriptor","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The property descriptor for this property.\n"},"type":{"type":"reference","name":"Object"}}],"type":{"type":"instrinct","name":"void"}}]}],"groups":[{"title":"Constructors","kind":512,"children":[836]},{"title":"Methods","kind":2048,"children":[848,844,839]}]},{"id":359,"name":"BindingLanguage","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"An abstract base class for implementations of a binding language."},"children":[{"id":366,"name":"createAttributeInstruction","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":367,"name":"createAttributeInstruction","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Creates an attribute behavior instruction.","returns":"The instruction instance.\n"},"parameters":[{"id":368,"name":"resources","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The ViewResources for the view being compiled."},"type":{"type":"reference","name":"ViewResources","id":505}},{"id":369,"name":"element","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The element that the attribute is defined on."},"type":{"type":"reference","name":"Element"}},{"id":370,"name":"info","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The info object previously returned from inspectAttribute."},"type":{"type":"reference","name":"Object"}},{"id":371,"name":"existingInstruction","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"A previously created instruction for this attribute."},"type":{"type":"reference","name":"Object"}}],"type":{"type":"reference","name":"BehaviorInstruction","id":211}}]},{"id":360,"name":"inspectAttribute","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":361,"name":"inspectAttribute","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Inspects an attribute for bindings.","returns":"An info object with the results of the inspection.\n"},"parameters":[{"id":362,"name":"resources","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The ViewResources for the view being compiled."},"type":{"type":"reference","name":"ViewResources","id":505}},{"id":363,"name":"elementName","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The element name to inspect."},"type":{"type":"instrinct","name":"string"}},{"id":364,"name":"attrName","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The attribute name to inspect."},"type":{"type":"instrinct","name":"string"}},{"id":365,"name":"attrValue","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The attribute value to inspect."},"type":{"type":"instrinct","name":"string"}}],"type":{"type":"reference","name":"Object"}}]},{"id":372,"name":"inspectTextContent","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":373,"name":"inspectTextContent","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Parses the text for bindings.","returns":"A binding expression.\n"},"parameters":[{"id":374,"name":"resources","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The ViewResources for the view being compiled."},"type":{"type":"reference","name":"ViewResources","id":505}},{"id":375,"name":"value","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The value of the text to parse."},"type":{"type":"instrinct","name":"string"}}],"type":{"type":"reference","name":"Object"}}]}],"groups":[{"title":"Methods","kind":2048,"children":[366,360,372]}]},{"id":658,"name":"BoundViewFactory","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"A factory capable of creating View instances, bound to a location within another view hierarchy."},"children":[{"id":659,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of BoundViewFactory."},"signatures":[{"id":660,"name":"new BoundViewFactory","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of BoundViewFactory."},"parameters":[{"id":661,"name":"parentContainer","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The parent DI container."},"type":{"type":"reference","name":"Container"}},{"id":662,"name":"viewFactory","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The internal unbound factory."},"type":{"type":"reference","name":"ViewFactory","id":676}},{"id":663,"name":"partReplacements","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"shortText":"Part replacement overrides for the internal factory.\n"},"type":{"type":"reference","name":"Object"}}],"type":{"type":"reference","name":"BoundViewFactory","id":658}}]},{"id":666,"name":"isCaching","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Indicates whether this factory is currently using caching."},"type":{"type":"instrinct","name":"any"}},{"id":664,"name":"create","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":665,"name":"create","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Creates a view or returns one from the internal cache, if available.","returns":"The created view.\n"},"type":{"type":"reference","name":"View","id":562}}]},{"id":671,"name":"getCachedView","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":672,"name":"getCachedView","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Gets a cached view if available...","returns":"A cached view or null if one isn't available.\n"},"type":{"type":"reference","name":"View","id":562}}]},{"id":673,"name":"returnViewToCache","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":674,"name":"returnViewToCache","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Returns a view to the cache."},"parameters":[{"id":675,"name":"view","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The view to return to the cache if space is available.\n"},"type":{"type":"reference","name":"View","id":562}}],"type":{"type":"instrinct","name":"void"}}]},{"id":667,"name":"setCacheSize","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":668,"name":"setCacheSize","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Sets the cache size for this factory."},"parameters":[{"id":669,"name":"size","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The number of views to cache or \"*\" to cache all."},"type":{"type":"union","types":[{"type":"instrinct","name":"number"},{"type":"instrinct","name":"string"}]}},{"id":670,"name":"doNotOverrideIfAlreadySet","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"Indicates that setting the cache should not override the setting if previously set.\n"},"type":{"type":"instrinct","name":"boolean"}}],"type":{"type":"instrinct","name":"void"}}]}],"groups":[{"title":"Constructors","kind":512,"children":[659]},{"title":"Properties","kind":1024,"children":[666]},{"title":"Methods","kind":2048,"children":[664,671,673,667]}]},{"id":889,"name":"CompositionEngine","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Used to dynamically compose components."},"children":[{"id":890,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of the CompositionEngine."},"signatures":[{"id":891,"name":"new CompositionEngine","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of the CompositionEngine."},"parameters":[{"id":892,"name":"viewEngine","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The ViewEngine used during composition.\n"},"type":{"type":"reference","name":"ViewEngine","id":750}},{"id":893,"name":"viewLocator","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"ViewLocator","id":348}}],"type":{"type":"reference","name":"CompositionEngine","id":889}}]},{"id":900,"name":"compose","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":901,"name":"compose","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Dynamically composes a component.","returns":"A Promise for the View or the Controller that results from the dynamic composition.\n"},"parameters":[{"id":902,"name":"context","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The CompositionContext providing information on how the composition should occur."},"type":{"type":"reference","name":"CompositionContext","id":80}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"union","types":[{"type":"reference","name":"View","id":562},{"type":"reference","name":"Controller","id":786}]}]}}]},{"id":894,"name":"createController","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":895,"name":"createController","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Creates a controller instance for the component described in the context.","returns":"A Promise for the Controller.\n"},"parameters":[{"id":896,"name":"context","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The CompositionContext that describes the component."},"type":{"type":"reference","name":"CompositionContext","id":80}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"reference","name":"Controller","id":786}]}}]},{"id":897,"name":"ensureViewModel","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":898,"name":"ensureViewModel","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Ensures that the view model and its resource are loaded for this context.","returns":"A Promise for the context.\n"},"parameters":[{"id":899,"name":"context","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The CompositionContext to load the view model and its resource for."},"type":{"type":"reference","name":"CompositionContext","id":80}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"reference","name":"CompositionContext","id":80}]}}]}],"groups":[{"title":"Constructors","kind":512,"children":[890]},{"title":"Methods","kind":2048,"children":[900,894,897]}]},{"id":142,"name":"CompositionTransaction","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Enables an initiator of a view composition to track any internal async rendering processes for completion."},"children":[{"id":143,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of CompositionTransaction."},"signatures":[{"id":144,"name":"new CompositionTransaction","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of CompositionTransaction."},"type":{"type":"reference","name":"CompositionTransaction","id":142}}]},{"id":147,"name":"enlist","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":148,"name":"enlist","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Enlist an async render operation into the transaction.","returns":"A completion notifier.\n"},"type":{"type":"reference","name":"CompositionTransactionNotifier","id":128}}]},{"id":145,"name":"tryCapture","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":146,"name":"tryCapture","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Attempt to take ownership of the composition transaction.","returns":"An ownership token if successful, otherwise null.\n"},"type":{"type":"reference","name":"CompositionTransactionOwnershipToken","id":134}}]}],"groups":[{"title":"Constructors","kind":512,"children":[143]},{"title":"Methods","kind":2048,"children":[147,145]}]},{"id":128,"name":"CompositionTransactionNotifier","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"A mechanism by which an enlisted async render operation can notify the owning transaction when its work is done."},"children":[{"id":129,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"signatures":[{"id":130,"name":"new CompositionTransactionNotifier","kind":16384,"kindString":"Constructor signature","flags":{},"parameters":[{"id":131,"name":"owner","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"reference","name":"CompositionTransactionNotifier","id":128}}]},{"id":132,"name":"done","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":133,"name":"done","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Notifies the owning transaction that its work is done."},"type":{"type":"instrinct","name":"void"}}]}],"groups":[{"title":"Constructors","kind":512,"children":[129]},{"title":"Methods","kind":2048,"children":[132]}]},{"id":134,"name":"CompositionTransactionOwnershipToken","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Referenced by the subsytem which wishes to control a composition transaction."},"children":[{"id":135,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"signatures":[{"id":136,"name":"new CompositionTransactionOwnershipToken","kind":16384,"kindString":"Constructor signature","flags":{},"parameters":[{"id":137,"name":"owner","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"reference","name":"CompositionTransactionOwnershipToken","id":134}}]},{"id":140,"name":"resolve","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":141,"name":"resolve","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Used internall to resolve the composition complete promise."},"type":{"type":"instrinct","name":"void"}}]},{"id":138,"name":"waitForCompositionComplete","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":139,"name":"waitForCompositionComplete","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Allows the transaction owner to wait for the completion of all child compositions.","returns":"A promise that resolves when all child compositions are done.\n"},"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"instrinct","name":"void"}]}}]}],"groups":[{"title":"Constructors","kind":512,"children":[135]},{"title":"Methods","kind":2048,"children":[140,138]}]},{"id":786,"name":"Controller","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Controls a view model (and optionally its view), according to a particular behavior and by following a set of instructions."},"children":[{"id":790,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of Controller."},"signatures":[{"id":791,"name":"new Controller","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of Controller."},"parameters":[{"id":792,"name":"behavior","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The HtmlBehaviorResource that provides the base behavior for this controller."},"type":{"type":"reference","name":"HtmlBehaviorResource","id":851}},{"id":793,"name":"instruction","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The instructions pertaining to the controller's behavior."},"type":{"type":"reference","name":"BehaviorInstruction","id":211}},{"id":794,"name":"viewModel","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The developer's view model instance which provides the custom behavior for this controller."},"type":{"type":"reference","name":"Object"}},{"id":795,"name":"container","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The container that the controller's view was created from.\n"},"type":{"type":"reference","name":"Container"}}],"type":{"type":"reference","name":"Controller","id":786}}]},{"id":787,"name":"behavior","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The HtmlBehaviorResource that provides the base behavior for this controller."},"type":{"type":"reference","name":"HtmlBehaviorResource","id":851}},{"id":789,"name":"view","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The view associated with the component being controlled by this controller.\nNote: Not all components will have a view, so the value may be null."},"type":{"type":"reference","name":"View","id":562}},{"id":788,"name":"viewModel","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The developer's view model instance which provides the custom behavior for this controller."},"type":{"type":"reference","name":"Object"}},{"id":808,"name":"attached","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":809,"name":"attached","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Attaches the controller."},"type":{"type":"instrinct","name":"void"}}]},{"id":799,"name":"automate","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":800,"name":"automate","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Used to automate the proper binding of this controller and its view. Used by the composition engine for dynamic component creation.\nThis should be considered a semi-private API and is subject to change without notice, even across minor or patch releases."},"parameters":[{"id":801,"name":"overrideContext","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"An override context for binding."},"type":{"type":"reference","name":"Object"}},{"id":802,"name":"owningView","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The view inside which this controller resides.\n"},"type":{"type":"reference","name":"View","id":562}}],"type":{"type":"instrinct","name":"void"}}]},{"id":803,"name":"bind","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":804,"name":"bind","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Binds the controller to the scope."},"parameters":[{"id":805,"name":"scope","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The binding scope.\n"},"type":{"type":"reference","name":"Object"}}],"type":{"type":"instrinct","name":"void"}}]},{"id":796,"name":"created","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":797,"name":"created","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Invoked when the view which contains this controller is created."},"parameters":[{"id":798,"name":"owningView","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The view inside which this controller resides.\n"},"type":{"type":"reference","name":"View","id":562}}],"type":{"type":"instrinct","name":"void"}}]},{"id":810,"name":"detached","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":811,"name":"detached","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Detaches the controller."},"type":{"type":"instrinct","name":"void"}}]},{"id":806,"name":"unbind","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":807,"name":"unbind","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Unbinds the controller."},"type":{"type":"instrinct","name":"void"}}]}],"groups":[{"title":"Constructors","kind":512,"children":[790]},{"title":"Properties","kind":1024,"children":[787,789,788]},{"title":"Methods","kind":2048,"children":[808,799,803,796,810,806]}]},{"id":303,"name":"ConventionalViewStrategy","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"A view strategy based on naming conventions."},"children":[{"id":304,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of ConventionalViewStrategy."},"signatures":[{"id":305,"name":"new ConventionalViewStrategy","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of ConventionalViewStrategy."},"parameters":[{"id":306,"name":"viewLocator","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The view locator service for conventionally locating the view."},"type":{"type":"reference","name":"ViewLocator","id":348}},{"id":307,"name":"origin","kind":32768,"kindString":"Parameter","flags":{},"comment":{"shortText":"The origin of the view model to conventionally load the view for.\n"},"type":{"type":"reference","name":"Origin"}}],"type":{"type":"reference","name":"ConventionalViewStrategy","id":303}}]},{"id":308,"name":"loadViewFactory","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":309,"name":"loadViewFactory","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Loads a view factory.","returns":"A promise for the view factory that is produced by this strategy.\n"},"parameters":[{"id":310,"name":"viewEngine","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The view engine to use during the load process."},"type":{"type":"reference","name":"ViewEngine","id":750}},{"id":311,"name":"compileInstruction","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"Additional instructions to use during compilation of the view."},"type":{"type":"reference","name":"ViewCompileInstruction","id":202}},{"id":312,"name":"loadContext","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The loading context used for loading all resources and dependencies."},"type":{"type":"reference","name":"ResourceLoadContext","id":192}},{"id":313,"name":"target","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"A class from which to extract metadata of additional resources to load."},"type":{"type":"instrinct","name":"any"}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"reference","name":"ViewFactory","id":676}]}}]}],"groups":[{"title":"Constructors","kind":512,"children":[304]},{"title":"Methods","kind":2048,"children":[308]}]},{"id":903,"name":"ElementConfigResource","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Identifies a class as a resource that configures the EventManager with information\nabout how events relate to properties for the purpose of two-way data-binding\nto Web Components."},"children":[{"id":904,"name":"initialize","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":905,"name":"initialize","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Provides an opportunity for the resource to initialize iteself."},"parameters":[{"id":906,"name":"container","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The dependency injection container from which the resource\ncan aquire needed services."},"type":{"type":"reference","name":"Container"}},{"id":907,"name":"target","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The class to which this resource metadata is attached.\n"},"type":{"type":"reference","name":"Function"}}],"type":{"type":"instrinct","name":"void"}}]},{"id":912,"name":"load","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":913,"name":"load","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Enables the resource to asynchronously load additional resources."},"parameters":[{"id":914,"name":"container","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The dependency injection container from which the resource\ncan aquire needed services."},"type":{"type":"reference","name":"Container"}},{"id":915,"name":"target","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The class to which this resource metadata is attached.\n"},"type":{"type":"reference","name":"Function"}}],"type":{"type":"instrinct","name":"void"}}]},{"id":908,"name":"register","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":909,"name":"register","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Allows the resource to be registered in the view resources for the particular\nview into which it was required."},"parameters":[{"id":910,"name":"registry","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The view resource registry for the view that required this resource."},"type":{"type":"reference","name":"ViewResources","id":505}},{"id":911,"name":"name","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The name provided by the end user for this resource, within the\nparticular view it's being used.\n"},"type":{"type":"instrinct","name":"string"}}],"type":{"type":"instrinct","name":"void"}}]}],"groups":[{"title":"Methods","kind":2048,"children":[904,912,908]}]},{"id":167,"name":"ElementEvents","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"Dispatches subscribets to and publishes events in the DOM.","tags":[{"tag":"param","text":"\n","param":"element"}]},"children":[{"id":168,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"signatures":[{"id":169,"name":"new ElementEvents","kind":16384,"kindString":"Constructor signature","flags":{},"parameters":[{"id":170,"name":"element","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"Element"}}],"type":{"type":"reference","name":"ElementEvents","id":167}}]},{"id":187,"name":"dispose","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":188,"name":"dispose","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Removes all events that are listening to the specified eventName."},"parameters":[{"id":189,"name":"eventName","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"\n"},"type":{"type":"instrinct","name":"string"}}],"type":{"type":"instrinct","name":"void"}}]},{"id":190,"name":"disposeAll","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":191,"name":"disposeAll","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Removes all event handlers."},"type":{"type":"instrinct","name":"any"}}]},{"id":171,"name":"publish","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":172,"name":"publish","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Dispatches an Event on the context element."},"parameters":[{"id":173,"name":"eventName","kind":32768,"kindString":"Parameter","flags":{},"comment":{},"type":{"type":"instrinct","name":"string"}},{"id":174,"name":"detail","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{},"type":{"type":"reference","name":"Object"}},{"id":175,"name":"bubbles","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{},"type":{"type":"instrinct","name":"boolean"}},{"id":176,"name":"cancelable","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"\n"},"type":{"type":"instrinct","name":"boolean"}}],"type":{"type":"instrinct","name":"any"}}]},{"id":177,"name":"subscribe","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":178,"name":"subscribe","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Adds and Event Listener on the context element.","returns":"Returns the eventHandler containing a dispose method\n"},"parameters":[{"id":179,"name":"eventName","kind":32768,"kindString":"Parameter","flags":{},"comment":{},"type":{"type":"instrinct","name":"string"}},{"id":180,"name":"handler","kind":32768,"kindString":"Parameter","flags":{},"comment":{},"type":{"type":"reference","name":"Function"}},{"id":181,"name":"bubbles","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{},"type":{"type":"instrinct","name":"boolean"}}],"type":{"type":"reference","name":"EventHandler","id":2}}]},{"id":182,"name":"subscribeOnce","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":183,"name":"subscribeOnce","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Adds an Event Listener on the context element, that will be disposed on the first trigger.","returns":"Returns the eventHandler containing a dispose method\n"},"parameters":[{"id":184,"name":"eventName","kind":32768,"kindString":"Parameter","flags":{},"comment":{},"type":{"type":"reference","name":"String"}},{"id":185,"name":"handler","kind":32768,"kindString":"Parameter","flags":{},"comment":{},"type":{"type":"reference","name":"Function"}},{"id":186,"name":"bubbles","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{},"type":{"type":"reference","name":"Boolean"}}],"type":{"type":"reference","name":"EventHa