This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| data.array[i].prop1 = 'new value'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| data.array.push(newValue); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <nb-reveal-card> | |
| <nb-card-front> | |
| <nb-card><nb-card-body>Front Card</nb-card-body></nb-card> | |
| </nb-card-front> | |
| <nb-card-back> | |
| <nb-card><nb-card-body>Back Card</nb-card-body></nb-card> | |
| </nb-card-back> | |
| </nb-reveal-card> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <nb-user showInitials | |
| size="medium" | |
| name="Dmitry Nehaychik" | |
| title="Nebular Dev" | |
| badgeText="17" | |
| badgeStatus="danger" | |
| badgePosition="bottom right"> | |
| </nb-user> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| export const routes:RouterConfig = [ | |
| ...LoginRoutes, | |
| ...RegisterRoutes, | |
| ...PagesRoutes, | |
| { | |
| path: '**', | |
| redirectTo: '/pages/dashboard' | |
| }, | |
| ]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| export const PagesRoutes:RouterConfig = [ | |
| { | |
| path: 'pages', | |
| component: Pages, | |
| children: [ | |
| { | |
| path: 'dashboard', | |
| component: Dashboard | |
| }, | |
| { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| export const PagesRoutes:RouterConfig = [ | |
| { | |
| path: 'pages', | |
| component: Pages, | |
| children: [ | |
| { | |
| path: 'dashboard', | |
| component: Dashboard, | |
| data: { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!-- build:js({.tmp/serve,.tmp/partials,src}) scripts/app.js --> | |
| <!-- inject:js --> | |
| <!-- js files will be automatically insert here --> | |
| <!-- endinject --> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| id: { | |
| title: 'ID', | |
| filter: true | |
| }, | |
| name: { | |
| title: 'Name', | |
| filter: { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const items = {}; | |
| return {{result.data}}.map(item => { | |
| return { | |
| value: item.name, | |
| title: item.name, | |
| }; | |
| }).filter(item => { | |
| return items.hasOwnProperty(item.value) ? false : (items[item.value] = true); | |
| }); |