Merge pull request #619 from tugcekucukoglu/inlinemessage
Added InlineMessage to viewspull/682/head
commit
1f9be79e6d
|
@ -21,6 +21,23 @@
|
|||
<Message v-for="msg of messages" :severity="msg.severity" :key="msg.id">{{msg.content}}</Message>
|
||||
</transition-group>
|
||||
|
||||
<h5>Inline Messages</h5>
|
||||
<p>Message component is used to display inline messages mostly within forms.</p>
|
||||
<div class="p-grid">
|
||||
<div class="p-col-12 p-md-3">
|
||||
<InlineMessage severity="info">Message Content</InlineMessage>
|
||||
</div>
|
||||
<div class="p-col-12 p-md-3">
|
||||
<InlineMessage severity="success">Message Content</InlineMessage>
|
||||
</div>
|
||||
<div class="p-col-12 p-md-3">
|
||||
<InlineMessage severity="warn">Message Content</InlineMessage>
|
||||
</div>
|
||||
<div class="p-col-12 p-md-3">
|
||||
<InlineMessage severity="error">Message Content</InlineMessage>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<h5>Auto Dismiss</h5>
|
||||
<Message severity="warn" :life="3000" :sticky="false">This message will hide in 3 seconds.</Message>
|
||||
|
||||
|
|
|
@ -260,6 +260,23 @@ import InlineMessage from 'primevue/inlinemessage';
|
|||
<h5>Auto Dismiss</h5>
|
||||
<Message severity="warn" :life="3000" :sticky="false">This message will hide in 3 seconds.</Message>
|
||||
|
||||
<h5>Inline Messages</h5>
|
||||
<p>Message component is used to display inline messages mostly within forms.</p>
|
||||
<div class="p-grid">
|
||||
<div class="p-col-12 p-md-3">
|
||||
<InlineMessage severity="info">Message Content</InlineMessage>
|
||||
</div>
|
||||
<div class="p-col-12 p-md-3">
|
||||
<InlineMessage severity="success">Message Content</InlineMessage>
|
||||
</div>
|
||||
<div class="p-col-12 p-md-3">
|
||||
<InlineMessage severity="warn">Message Content</InlineMessage>
|
||||
</div>
|
||||
<div class="p-col-12 p-md-3">
|
||||
<InlineMessage severity="error">Message Content</InlineMessage>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<h5>Validation Message</h5>
|
||||
<div class="p-formgroup-inline" style="margin-bottom:.5rem">
|
||||
<label for="username" class="p-sr-only">Username</label>
|
||||
|
|
Loading…
Reference in New Issue