Carregando...
TagriaLib Documentation v4
modal
AttributeRequiredTypeDescription
sizefalsejava.lang.StringIndicates the size of modal. Default none. Options: xl,sm,lg
idfalsejava.lang.StringIndicates the modal id for direct manipulation of events
attachTofalsejava.lang.StringIndicates the component name that triggers the modal screen
attachToSelectorfalsejava.lang.StringIndicates the component selector that triggers the modal screen
closeablefalsejava.lang.BooleanIndicates if modal can be closeable. Default : true. Options : true,false
centeredfalsejava.lang.BooleanIndicates if modal is vertically centered. Default : false. Options : true,false
openfalsejava.lang.BooleanIndicates if component is opened on load. Default : false. Options : true,false
renderedfalsejava.lang.BooleanIt indicates whether the component should be rendered
<html:view>
		    <html:buttonGroup>
				<html:button label="My button" icon="search" id="btn1" />
			</html:buttonGroup>
			
			<html:modal attachToSelector="#btn1">
				<html:modalHeader label="My modal title"></html:modalHeader>
				<html:modalBody>
					Here is my component
				</html:modalBody>
				<html:modalFooter>
					My footer
				</html:modalFooter>
			</html:modal>
		</html:view>