Basic #
This is the most basic usage of RegateImage
.
Regate.RegateImage.init({
id: 'basic-example',
name: 'MagazineCover',
})
Value #
With value
property you can set an initial value for your input.
Regate.RegateImage.init({
id: 'value-example',
name: 'MagazineCover',
value: 'sample.png',
})
Required #
You can required your field with isRequired
property.
Regate.RegateImage.init({
id: 'required-example',
name: 'MagazineCover',
isRequired: true,
})