ng2-semantify

0.0.2 • Public • Published

Work in progress

Directives and other useful angular2 stuff for Semantic UI.

Yes, another wrapper. Yes, there are dozens of:

lparrot/semantic-ng2

vladotesanovic/ngSemantic

allenRoyston/ng2-semantic-ui-directives

semanticng2

... well, infinite list. You can easily google more.

Why another one?

Usage

import { SemanticUiModule } from 'ng2_semantify/module'; or import only necessary components directly

Directives

Modal

import { SemanticModalTriggerDirective } from 'ng2_semantify/directives/modal_trigger';

Then, in template:

<button
	class="this-element-will-trigger-modal"
	semantic-modal-trigger
	[options]="modalOptions"
>
	Show modal
</button>

modalOptions will be passed to $.fn.modal() directly.

Package Sidebar

Install

npm i ng2-semantify

Weekly Downloads

0

Version

0.0.2

License

MIT

Last publish

Collaborators

  • govorov