mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-18 19:21:34 +08:00
docs(demos): navigation demo
This commit is contained in:
3
demos/component-docs/helpers.ts
Normal file
3
demos/component-docs/helpers.ts
Normal file
@ -0,0 +1,3 @@
|
||||
export function toTitleCase(str) {
|
||||
return str.replace(/\w\S*/g, function(txt){return txt.charAt(0).toUpperCase() + txt.substr(1).toLowerCase();});
|
||||
}
|
Reference in New Issue
Block a user