Use ngSwitch Directive to Set the Contents of an Element in a Template
We use a lot of ng-templates in our HTML and have cases where we would need to swap one with another based on a condition. ngSwitch comes handy in this
We use a lot of ng-templates in our HTML and have cases where we would need to swap one with another based on a condition. ngSwitch comes handy in this
When you create a new HTML element, you may want to keep its reference and later add a few more properties to it in the script. Just store it in
Elements that are added after initial page load through an DOM action do not have event handlers attached to them. We can use the live event handler to attach the
We use a lot of ng-templates in our HTML and have cases in which we would need to swap one with the other based on a condition. ngSwitch comes in
Tableizer is an external app that is great for building HTML tables out of data, using existing Calc or Excel spreadsheet templates. You only need paste your cells into the
The element tag was formerly used to create subheadings, such as a logo. Now, the element has been redefined, more suitably, and now indicates small print. It is useful as
The HTML tag creates an inline frame, used to embed another document into your current HTML page. This element is great because you can include content such as advertising banners,
With the tag, you can scroll the text from top to bottom, from bottom to top, from left to right, from right to left, and you can also increase writing.
We can store data in the elements through HTML5’s data attributes. See below for an example on how to store and retrieve data from the data attributes. The values are