ng2-semantify
v0.0.2
Published
Angular2 directives and other useful stuff for Semantic UI
Downloads
2
Maintainers
Readme
Work in progress
Directives and other useful angular2 stuff for Semantic UI.
Yes, another wrapper. Yes, there are dozens of:
allenRoyston/ng2-semantic-ui-directives
... well, infinite list. You can easily google more.
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.