parent
0af8c716ac
commit
13f147a357
|
@ -29,8 +29,8 @@ export const OhImageDefinition = () => new WidgetDefinition('oh-image', 'Image',
|
||||||
|
|
||||||
import VideoParameters from './video'
|
import VideoParameters from './video'
|
||||||
export const OhVideoDefinition = () => new WidgetDefinition('oh-video', 'Video', 'Displays a video player from a URL or an item')
|
export const OhVideoDefinition = () => new WidgetDefinition('oh-video', 'Video', 'Displays a video player from a URL or an item')
|
||||||
.paramGroup(actionGroup(), actionParams())
|
.paramGroup(actionGroup(), actionParams())
|
||||||
.params(VideoParameters())
|
.params(VideoParameters())
|
||||||
|
|
||||||
import InputParameters from './input'
|
import InputParameters from './input'
|
||||||
export const OhInputDefinition = () => new WidgetDefinition('oh-input', 'Input', 'Displays an input field, used to set a variable')
|
export const OhInputDefinition = () => new WidgetDefinition('oh-input', 'Input', 'Displays an input field, used to set a variable')
|
||||||
|
@ -77,6 +77,10 @@ import TrendParameters from './trend'
|
||||||
export const OhTrendDefinition = () => new WidgetDefinition('oh-trend', 'Trend line', 'Trend line to display the overall recent evoluation of an item')
|
export const OhTrendDefinition = () => new WidgetDefinition('oh-trend', 'Trend line', 'Trend line to display the overall recent evoluation of an item')
|
||||||
.params(TrendParameters())
|
.params(TrendParameters())
|
||||||
|
|
||||||
|
import WebFrameParameters from './webframe'
|
||||||
|
export const OhWebFrameDefinition = () => new WidgetDefinition('oh-webframe', 'Web frame', 'Displays a web page in a frame')
|
||||||
|
.params(WebFrameParameters())
|
||||||
|
|
||||||
import RepeaterParameters from './repeater'
|
import RepeaterParameters from './repeater'
|
||||||
export const OhRepeaterDefinition = () => new WidgetDefinition('oh-repeater', 'Repeater', 'Iterate over an array and repeat the children components in the default slot')
|
export const OhRepeaterDefinition = () => new WidgetDefinition('oh-repeater', 'Repeater', 'Iterate over an array and repeat the children components in the default slot')
|
||||||
.params(RepeaterParameters())
|
.params(RepeaterParameters())
|
||||||
|
|
|
@ -10,10 +10,10 @@
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import mixin from '../widget-mixin'
|
import mixin from '../widget-mixin'
|
||||||
import { OhWebframeDefinition } from '@/assets/definitions/widgets/system'
|
import { OhWebFrameDefinition } from '@/assets/definitions/widgets/system'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
mixins: [mixin],
|
mixins: [mixin],
|
||||||
widget: OhWebframeDefinition
|
widget: OhWebFrameDefinition
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
Loading…
Reference in New Issue