好得很程序员自学网

<tfoot draggable='sEl'></tfoot>

TileBoard

TileBoard 介绍

TileBoard 一个 简单但高度可配置的HomeAssistant仪表板。

配置

con fig .js 将使用以下字段初始化全局CON fig 对象:

var CON fig = {

/* customTheme: specify a custom theme for your dashboard

* Valid options: null,CUSTOM_THEMES.TRANSPARENT,CUSTOM_THEMES.MATERIAL,CUSTOM_THEMES.MOBILE,CUSTOM_THEMES.COMPACT,CUSTOM_THEMES.HOMEKIT,CUSTOM_THEMES.WINPHONE,CUSTOM_THEMES.WIN95 or a custom theme you have created

* Default: null. Array supported

*/

customTheme: null,

/* transition: The transition effect used between Pages

* Valid options: TRANSITIONS.ANIMATED,TRANSITIONS.ANIMATED_GPU,TRANSITIONS.SIMPLE

*/

transition: TRANSITIONS.ANIMATED,

/* tileSize: The default size (in pixels) of a tile */

tileSize: Number,

/* tileMargin: The default margin (in pixels) between tiles */

tileMargin: Number,

/* entitySize: Enum size of tile's content (SMALL, nor MAL,BIG)*/

entitySize: ENTITY_SIZES. nor MAL,

/* groupMargincss: css margin statement to override the default margin for groups */

groupMargincss: '20px 40px',

/* serverUrl: The URL to your HomeAssistant server */

serverUrl: 'http://hassio.local:8123',

/* wsUrl: The URL to your HomeAssistant Websocket connection.

* If HomeAssistant is behind SSL,replace ws:// with wss://

*/

wsUrl: 'ws://hassio.local:8123/api/websocket',

/* authToken: Optional Long live token that you can create in your HomeAssistant

*/

authToken: null,

/* pingConnection: Set to false dis able pinging of the websocket connection.

* Otherwise,a ping will be sent every five seconds,and if a response is not received in 3 seconds,

* a reconnect will be attempted. If not included in the con fig file,setting defaults to true.

*/

pingConnection: true,

/* debug: Toggle for extra debugging informat ion.

* If enabled,will print info about state changes and entities to console.

*/

debug: Boolean,

/* timeFormat: 12 for AM/PM marker,24 for 24 hour time (default) */

timeFormat: Number,

/* Google Api key is required if you are using device tarcker tiles along with Google Maps.

* More info here: https://developers.google.com/maps/documentation/maps-static/usage-and-billing

*/

googleApiKey: null,

/* menuPosition: LEFT (default) or B ott OM */

menuPosition: MENU_POSITIONS.LEFT,

/* hideScrollbar: Hiding horizontal scrollbar */

hideScrollbar: false,

/* groupsAlign: Align groups HORIZONTALLY (default) or VERTICALLY */

groupsAlign: GROUP_ALIGNS.HORIZONTALLY,

/* pages: A list of page objects. See documentation on Pages below */

pages: [],

/* events: A list of events. See documentation on Events below */

events: [],

/* screensaver: A digital picture frame with a clock. Appears when

* the dashboard has been idle

* https://github.com/resoai/TileBoard/wiki/Screensaver-con fig uration

* (optional)

*/

screensaver: {

/* timeout: Idle time (in seconds) before the screensaver will show */

timeout: 300,

/* slidesTimeout: Amount of time (in seconds) to show each slide */

slidesTimeout: 10,

styles: { fontSize: '40px' },

/* read more in wiki */

leftB ott om: [{ type: SCREENSAVER_ITEMS.DATETIME }],

/* slides: Array of paths to pictures. */

slides: [

{bg: 'images/bg1.jpeg'},

{bg: 'images/bg2.png'},

{bg: 'images/bg3.png'}

]

},

/* header: object of header. Will be applied globally

* https://github.com/resoai/TileBoard/wiki/Header-con fig uration

* (optional)

*/

header: DEFAULT_HEADER,

}

网站地址 : https://youtu.be/L8JwzWNAPr8

GitHub: https://github.com/resoai/TileBoard

网站描述: 一个 简单的可定制的类似 Windows UI 框架

TileBoard官方网站

官方网站: https://youtu.be/L8JwzWNAPr8

如果觉得 网站内容还不错,欢迎将 网站 推荐给程序员好友。

查看更多关于TileBoard的详细内容...

  阅读:31次

上一篇

下一篇

第1节:ng-alain    第2节:sing-app    第3节:Adminify    第4节:ant-design-pro    第5节:evergreen    第6节:rsuite    第7节:UIkit    第8节:CoreUI    第9节:RageFrame    第10节:BlurAdmin    第11节:Ace Admin    第12节:SUI    第13节:vue ui    第14节:Laravel-admin    第15节:luda    第16节:gentelella    第17节:storybook    第18节:Grommet    第19节:iView ui    第20节:react-kawaii    第21节:Semantic-UI    第22节:Swagger UI    第23节:Office UI Fabric    第24节:react-native-web    第25节:拼图.pintuer    第26节:antd-admin    第27节:Skeleton    第28节:edex-ui    第29节:vue-beauty    第30节:Cf-ui    第31节:react-tv    第32节:material-dashboard    第33节:charisma    第34节:quickui    第35节:vue-blu    第36节:lulu ui    第37节:Gestalt    第38节:React95    第39节:ZUI    第40节:vuestic-admin    第41节:html5-boilerplate    第42节:Materialize    第43节:React Suite    第44节:AdminLTE    第45节:Rebass    第46节:material-ui    第47节:Element UI    第48节:vue-multiselect    第49节:iView Admin    第50节:Flat UI    第51节:Rubik UI    第52节:best-resume-ever    第53节:sb-admin    第54节:ng2-admin    第55节:Jquery EasyUI    第56节:react-desktop    第57节:at-ui    第58节:rdash-angular    第59节:wxa-plugin-canvas    第60节:xy-ui    第61节:vue-strap    第62节:vuetify    第63节:buefy    第64节:bootswatch    第65节:H+    第66节:mdui    第67节:AlloyUI    第68节:Bootflat    第69节:TileBoard    第70节:primeng    第71节:Structor    第72节:mp_canvas_drawer    第73节:ng-zorro-antd    第74节:UXCore    第75节:Vali    第76节:Muse-UI    第77节:virtual-scroller    第78节:DXY-UI    第79节:zhengAdmin    第80节:avue    第81节:vue-element-admin    第82节:Vue-Access-Control    第83节:Dcat Admin    第84节:awesome-react-components    第85节:Vuesax    第86节:vue-design-system    第87节:tabler    第88节:jquery-ui    第89节:vue-framework-wz    第90节:bideo.js    第91节:Auto-Layout    第92节:pageResponse    第93节:ice 飞冰    第94节:Elemental UI    第95节:ok-admin    第96节:form-generator    第97节:layui    第98节:Muuri    第99节:ngx-admin    第100节:ant-design-pro-vue    第101节:Kendo UI    第102节:Nebular    第103节:pearProject    第104节:BUI    第105节:marko    第106节:Magic-Grid    第107节:Atui    第108节:react-toolbox    第109节:vali-admin    第110节:d2-admin    第111节:DevUI Design