Skip to content
#

ngx

Here are 270 public repositories matching this topic...

ng-zorro-antd
MickL
MickL commented Mar 25, 2019

The documentation is very confusing about "installation" and should be updated/simplified. I have:

  • A shared module
  • Lazy loaded modules
  • AOT compilation (which becaume the default on Angular CLI)

Do i need to apply all 3 of the mentioned headlines to this topics? When I have the shared module, does it work out of the box with lazy loaded modules? Also i should export the TranslateModul

jsgoupil
jsgoupil commented Mar 26, 2020

For support questions, please consider using Gitter - Chat

I'm submitting a ...

  • bug report

  • feature request

  • question about the decisions made in the repository

  • What is the expected behavior?
    There is no documentation or code to help out mock the Analytics. If there are, please put them in your README or wi

flaunsen
flaunsen commented Jan 27, 2020

There are some issues in the current KaTeX support:

  1. For now it is assumed that KaTeX formula starts and ends with one "$" sign. But more common behavior is to use double dollar signs as delimiters: "$$". As a result with enabled KaTeX it is impossible to open a text containing more than one dollar. May be it will be better to add some option like 'katexDelimiters' to customize this. Example:
mortanalexandru
mortanalexandru commented Feb 12, 2019

I am not able to get back the selected items in the case there is another wrapper component inside the dts-select-container. The SelectContainer uses @ContentChildren to get the $selectableItems. Is there any workaround?
example:

<dts-select-container>
     <parent-component>
         <span  [dtsselectItem]="item"></span>
         <span  [dtsselectItem]="item"></span>
     </parent-comp
deepthan
deepthan commented Apr 24, 2018

webpack体系原生支持热替换功能,设置也非常简单,只须在webpack-dev-server命令下添加--hot参数:

webpack-dev-server --port=4200 --hot

加上这个hot参数会添加 HotModuleReplacementPlugin 插件到webapck配置里,并启动热替换功能。

如果你用的是 Angular-CLI 搭建,则添加 --hmr 即可开发服务器端的热替换功能:

ng serve --hmr

但是仅仅在开发服务器端开启热替换还不够,Angular 项目仍需要添加热替换处理逻辑,修改 Angular 的启动命令如下如下:

declare var module: any;
if(module.hot) { // 如果webpack启用了热替换功能
  // 接受模块更新
gwelr
gwelr commented May 30, 2018

With the release of rxjs 6, the imports and creation of Observables have changed. There is no more fromPromise which has been replaced by from

This is how I updated the code to have it working:

import { TranslateLoader } from '@ngx-translate/core';
import { Observable, from } from 'rxjs';

export class WebpackTranslateLoader implements TranslateLoader {
  getTranslation(lang: st

Improve this page

Add a description, image, and links to the ngx topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the ngx topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.