()
| 264 | }; |
| 265 | |
| 266 | export const getMode = (): Mode => { |
| 267 | const win = window as any; |
| 268 | const config = win?.Ionic?.config; |
| 269 | if (config) { |
| 270 | if (config.mode) { |
| 271 | return config.mode; |
| 272 | } else { |
| 273 | return config.get('mode'); |
| 274 | } |
| 275 | } |
| 276 | return 'md'; |
| 277 | }; |
| 278 | |
| 279 | export const ENABLE_HTML_CONTENT_DEFAULT = false; |