30秒学会 CSS 片段 – Grid centering
Horizontally and vertically centers a child element within a parent element using grid. display: gri...
Horizontally and vertically centers a child element within a parent element using grid. display: gri...
Initializes an integer slice in the given range (inclusive). Use make() to create a slice of appropr...
If you need a custom pipe, before creating one, consider checking out the NGX Pipes package which ha...
Creates a function that invokes the method at a given key of an object, optionally adding any additi...
Unescapes escaped HTML characters. Use String.prototype.replace() with a regex that matches the char...
Creates a deep clone of an object. Use recursion. Check if the passed object is null and, if so, ret...
Chunks a collection into smaller lists of a specified size. Use IEnumerable.Select() to convert the ...
Checks if the given argument is a native boolean element. Use typeof to check if a value is classifi...
Converts a string to kebab case. Break the string into words and combine them adding – as a separato...
Check if a word / substring exists in a given string input. Using strpos() to find the position of t...