public abstract class BlazorBootstrapComponentBase : ComponentBase| BlazorBootstrapComponentBase | Initializes a new instance of the BlazorBootstrapComponentBase class |
| AdditionalAttributes | Additional HTML attributes to be added to the component. |
| Class | class attribute to be applied in the Html render, for usages such as CSS. |
| Id | The HTML id of the component. If left empty, a unique id will be generated. |
| IsRenderComplete |
Determines if the element had been rendered for the first time (assigned true in OnAfterRenderAsync(Boolean)). This is useful for Javascript interop, to ensure the element is rendered before attempting to interact with it. |
| Finalize |
Default destructor, to ensure IDisposable is executed properly.
(Overrides ObjectFinalize) |
| OnAfterRenderAsync |
Method invoked after each time the component has been rendered interactively and the UI has finished
updating (for example, after elements have been added to the browser DOM). Any ElementReference
fields will be populated by the time this runs.
This method is not invoked during prerendering or server-side rendering, because those processes
are not attached to any live browser DOM and are already complete before the DOM is updated.
Note that the component does not automatically re-render after the completion of any returned Task,
because that would cause an infinite render loop.
(Overrides ComponentBaseOnAfterRenderAsync(Boolean)) |