refactor
parent
3a36d4f6ab
commit
ceecdf97d8
|
@ -20,7 +20,7 @@ import TerminalService from 'primevue/terminalservice';
|
|||
import TerminalService from 'primevue/terminalservice';
|
||||
|
||||
export default {
|
||||
methods: {
|
||||
methods: {
|
||||
commandHandler(text) {
|
||||
let response;
|
||||
let argsIndex = text.indexOf(' ');
|
||||
|
@ -95,7 +95,7 @@ export default {
|
|||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<tr>
|
||||
<td>p-terminal</td>
|
||||
<td>Container element.</td>
|
||||
</tr>
|
||||
|
@ -107,7 +107,7 @@ export default {
|
|||
<td>p-terminal-prompt</td>
|
||||
<td>Prompt text.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<tr>
|
||||
<td>p-terminal-response</td>
|
||||
<td>Command response.</td>
|
||||
</tr>
|
||||
|
@ -136,7 +136,7 @@ export default {
|
|||
import TerminalService from 'primevue/terminalservice';
|
||||
|
||||
export default {
|
||||
methods: {
|
||||
methods: {
|
||||
commandHandler(text) {
|
||||
let response;
|
||||
let argsIndex = text.indexOf(' ');
|
||||
|
|
|
@ -59,7 +59,7 @@ html {
|
|||
<CodeHighlight>
|
||||
<style lang="scss" scoped>
|
||||
:deep(.dark-panel.p-panel) {
|
||||
.p-panel-titlebar {
|
||||
.p-panel-title {
|
||||
background: #212121;
|
||||
}
|
||||
|
||||
|
|
|
@ -889,7 +889,7 @@ data() {
|
|||
<p>Optionally a global filter is available to search against all the fields, in this case the special <i>global</i> keyword should be the property to be populated.</p>
|
||||
|
||||
<p>In addition <i>filterMode</i> specifies the filtering strategy. In <b>lenient</b> mode when the query matches a node, children of the node are not searched further as all descendants of the node are included. On the other hand,
|
||||
in <b>strict</b> mode when the query matches a node, filtering continues on all descendants.</p>
|
||||
in <b>strict</b> mode when the query matches a node, filtering continues on all descendants.</p>
|
||||
<CodeHighlight>
|
||||
<template v-pre>
|
||||
<TreeTable :value="nodes" :filters="filters" filterMode="lenient">
|
||||
|
@ -1231,6 +1231,23 @@ export default {
|
|||
}
|
||||
</CodeHighlight>
|
||||
|
||||
<CodeHighlight lang="css">
|
||||
.sm-visible {
|
||||
display: none;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 40em) {
|
||||
:deep(.sm-invisible) {
|
||||
display: none;
|
||||
}
|
||||
|
||||
:deep(.sm-visible) {
|
||||
display: inline;
|
||||
margin-right: .5rem;
|
||||
}
|
||||
}
|
||||
</CodeHighlight>
|
||||
|
||||
<h5>Properties</h5>
|
||||
<p>Any property such as style and class are passed to the underlying root element. Following is the additional property to configure the component.</p>
|
||||
<div class="doc-tablewrapper">
|
||||
|
@ -1293,7 +1310,7 @@ export default {
|
|||
<td>null</td>
|
||||
<td>Number of total records, defaults to length of value when not defined.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<tr>
|
||||
<td>paginator</td>
|
||||
<td>boolean</td>
|
||||
<td>false</td>
|
||||
|
@ -1369,7 +1386,7 @@ export default {
|
|||
<td>sortField</td>
|
||||
<td>string</td>
|
||||
<td>null</td>
|
||||
<td>Property name or a getter function of a row data used for sorting by default.</td>
|
||||
<td>Property name or a getter function of a row data used for sorting by default.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>sortOrder</td>
|
||||
|
|
|
@ -91,11 +91,11 @@ export default {
|
|||
}
|
||||
|
||||
@media screen and (max-width: 40em) {
|
||||
.sm-invisible {
|
||||
:deep(.sm-invisible) {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.sm-visible {
|
||||
:deep(.sm-visible) {
|
||||
display: inline;
|
||||
margin-right: .5rem;
|
||||
}
|
||||
|
@ -133,11 +133,11 @@ export default {
|
|||
}
|
||||
|
||||
@media screen and (max-width: 40em) {
|
||||
.sm-invisible {
|
||||
:deep(.sm-invisible) {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.sm-visible {
|
||||
:deep(.sm-visible) {
|
||||
display: inline;
|
||||
margin-right: .5rem;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue