wire.ui.Component. This class gives components the base functionality needed to take advantage of the capabilities of the WireBootstrap framework. It internalizes much of the details for development teams building new components for WireBootstrap. It also provides a standard interface for teams working with components as they develop applications using WireBootstrap.
wirealthough this is not a requirement.
wireglobal and then create components inside that root.
rendermethod is called to initialize a component which includes binding to data, applying any configuration, attaching to a DOM element, and then sending out event notifications that its finished initializing.
rendermethod takes two parameters. The first is the element
idinto which the component will be rendered. The second parameter is the configuration for initialing the component.
rendermethod returns the instance of the component so it can be chained with the component constructor for convenience.
rendermethod. One of the operations performed in the render method is the merging of the configuration passed in with the components defaults. The
configmethod on a component will return this merged configuration.
selectAllvalue is written to the browser's developer tools console.
datamethod on the component can be used to access this data table.
elementmethod of a component to get a reference to the DOM object to which the component is bound. If the component uses jQuery for the element, you can get the jQuery version using the
pluginproperty of a component to get a reference to the internal plugin instance used by the component.
plugin. It then gets an array of the currently selected rows using the native DataTables API.
getSelectedRowsmethod on the DataTables for WireBootstrap component directly.