GitHub

Article

Article provides styles to common element selectors to create an article in a content page.

DaffArticleModule

import { DaffArticleModule } from '@daffodil/design/article'
@NgModule()
class DaffArticleModule {}

DAFF_ARTICLE_COMPONENTS

import { DAFF_ARTICLE_COMPONENTS } from '@daffodil/design/article'
const DAFF_ARTICLE_COMPONENTS: readonly [typeof DaffArticleComponent, typeof DaffArticleMetaDirective]

DaffArticleComponent

A component for creating articles within your page.

import { DaffArticleComponent } from '@daffodil/design/article'
@Component()
class DaffArticleComponent {}
Selector: 'daff-article'

DaffArticleMetaDirective

import { DaffArticleMetaDirective } from '@daffodil/design/article'
@Directive()
class DaffArticleMetaDirective {}
Selector: '[daffArticleMeta]'