|
1 | 1 | /** |
2 | | - * PlatypusTS v0.13.8 (https://platypi.io) |
| 2 | + * PlatypusTS v0.13.9 (https://platypi.io) |
3 | 3 | * Copyright 2015 Platypi, LLC. All rights reserved. |
4 | 4 | * |
5 | 5 | * PlatypusTS is licensed under the MIT license found at |
@@ -8323,14 +8323,56 @@ declare module plat { |
8323 | 8323 | * DOM through bound context strings. |
8324 | 8324 | */ |
8325 | 8325 | class InnerHtml extends TemplateControl { |
| 8326 | + protected static _inject: any; |
| 8327 | + /** |
| 8328 | + * The options for the InnerHtml control. |
| 8329 | + */ |
| 8330 | + options: observable.IObservableProperty<IInnerHtmlOptions>; |
| 8331 | + /** |
| 8332 | + * The child controls of the control. All will be of type TemplateControl. |
| 8333 | + */ |
| 8334 | + controls: Array<TemplateControl>; |
| 8335 | + /** |
| 8336 | + * Reference to the ITemplateControlFactory injectable. |
| 8337 | + */ |
| 8338 | + protected _TemplateControlFactory: ITemplateControlFactory; |
8326 | 8339 | /** |
8327 | | - * Loads the DOM with the new HTML String. |
| 8340 | + * The string representation of the current bound html template. |
8328 | 8341 | */ |
8329 | | - contextChanged(): void; |
| 8342 | + protected _html: string; |
| 8343 | + /** |
| 8344 | + * Clears the inner template if one exists. |
| 8345 | + */ |
| 8346 | + setTemplate(): void; |
8330 | 8347 | /** |
8331 | | - * Loads the context string as the innerHTML of the element. |
| 8348 | + * Checks options and initializes bindings. |
8332 | 8349 | */ |
8333 | 8350 | loaded(): void; |
| 8351 | + /** |
| 8352 | + * The function called when any of the options for this control changes. |
| 8353 | + * @param {IInnerHtmlOptions} newValue The new value of the options property. |
| 8354 | + * @param {IInnerHtmlOptions} oldValue? The old value of the options property. |
| 8355 | + */ |
| 8356 | + protected _onOptionsChanged(newValue: IInnerHtmlOptions, oldValue?: IInnerHtmlOptions): void; |
| 8357 | + /** |
| 8358 | + * Compiles the bound template and adds it to the element. |
| 8359 | + * @param {string} templateString The template string to compile and bind. |
| 8360 | + */ |
| 8361 | + protected _generateTemplate(templateString: string): void; |
| 8362 | + } |
| 8363 | + /** |
| 8364 | + * The options object for the |
| 8365 | + * InnerHtml control. |
| 8366 | + */ |
| 8367 | + interface IInnerHtmlOptions { |
| 8368 | + /** |
| 8369 | + * The HTML string to bind to the DOM. |
| 8370 | + */ |
| 8371 | + html?: string; |
| 8372 | + /** |
| 8373 | + * Will compile the template string if set to true. |
| 8374 | + */ |
| 8375 | + compile?: boolean; |
8334 | 8376 | } |
8335 | 8377 | /** |
8336 | 8378 | * A BindControl for binding an HTML select element |
|
0 commit comments