<?xml version="1.0" encoding="utf-8"?>
<Application>
	<AppTitle>Untitled Application</AppTitle>
	<AppShortName>MyApp</AppShortName>
	<Author>Author name</Author>
	<Version>1.0</Version>
	<DesignDeviceName>Desktop</DesignDeviceName>
	<VariablesScanned>False</VariablesScanned>
	<PageWidth>640</PageWidth>
	<PageHeight>480</PageHeight>
	<AutoSizeWidth>False</AutoSizeWidth>
	<AutoSizeHeight>False</AutoSizeHeight>
	<HideScrollbars>False</HideScrollbars>
	<PublishPlatform>WebApp</PublishPlatform>
	<EmptyBuildFolder>False</EmptyBuildFolder>
	<AppIcon>C:\Users\asmat\Documents\VisualNeoWeb\Libraries\img\default-icon.png</AppIcon>
	<CustomCSS>.mybutton{
display:flex;
justify-content:center;
align-items:center;
user-select:none;
}


span{
  position: absolute;
  background: #fff;
  transform: translate(-50%,-50%);
  pointer-events: none;
  border-radius:50%;
  animation: animate 1s linear infinite;

}

@keyframes animate{
  0%{
    width: 0px;
    height: 0px;
    opacity:0.5;
  }
  100%{
    width: 100px;
    height: 100px;
    opacity:0;
  }
}

</CustomCSS>
	<LanguageCode>en</LanguageCode>
	<DisplayMode>standalone</DisplayMode>
	<ServiceWorker>Offline page</ServiceWorker>
	<ThemeColor>#000000</ThemeColor>
	<MobileOSTypes>[AndroidOS,iOS,WindowsPhoneOS]</MobileOSTypes>
	<WindowState>normal</WindowState>
	<TitleBar>True</TitleBar>
	<Sizeable>True</Sizeable>
	<MaximizeBtn>False</MaximizeBtn>
	<MinimizeBtn>True</MinimizeBtn>
	<SystemMenu>True</SystemMenu>
	<ContextMenu>False</ContextMenu>
	<AlwaysOnTop>False</AlwaysOnTop>
	<ShowInTaskbar>True</ShowInTaskbar>
	<SingleInstance>False</SingleInstance>
	<ChromeKioskMode>False</ChromeKioskMode>
	<Components>
		<FunctionList name="Subroutines">
			<Components>
				<Function name="applyEffect">
					<Code>const buttons = document.querySelectorAll(&apos;.&apos;+buttonsClass);
buttons.forEach(btn=&gt;{
  btn.addEventListener(&apos;click&apos;, function(e){
    let x1 = $(&apos;#&apos;+CurrentPage).offset().left;
    let y1 = $(&apos;#&apos;+CurrentPage).offset().top;

    let x = e.clientX - e.target.offsetLeft - x1;
    let y = e.clientY - e.target.offsetTop - y1;

    let ripples = document.createElement(&apos;span&apos;);
    ripples.style.left = x +&apos;px&apos;;
    ripples.style.top = y +&apos;px&apos;;
    this.appendChild(ripples);

    setTimeout(()=&gt;{
       ripples.remove()
    },1000);

  });
});</Code>
					<Params>buttonsClass|STRING|Enter class name that you want add effect;CurrentPage|STRING|Enter name of current page</Params>
					<ScriptLanguage>JavaScript</ScriptLanguage>
				</Function>
			</Components>
		</FunctionList>
		<LibraryList name="Libraries"/>
		<PageList name="Main">
			<Components>
				<Page id="homePage">
					<style>background-color:#000000</style>
					<pageenter>applyEffect &quot;mybutton&quot; &quot;[NAB.PageID]&quot;</pageenter>
					<Components>
						<Container id="Container1">
							<left>267px</left>
							<top>159px</top>
							<width>130px</width>
							<height>50px</height>
							<style>color:white;font-size:13pt;font-weight:bold;background-color:#fff;background-image:linear-gradient(90deg,#0162c8,#55e7fc);border-radius:25px</style>
							<css_class>mybutton</css_class>
							<html>Button</html>
						</Container>
						<Container id="Container2">
							<left>267px</left>
							<top>222px</top>
							<width>130px</width>
							<height>50px</height>
							<style>color:white;font-size:13pt;font-weight:500;background-color:#fff;background-image:linear-gradient(90deg,#755bea,#ff72c0);border-radius:25px</style>
							<css_class>mybutton</css_class>
							<html>Button</html>
						</Container>
					</Components>
				</Page>
			</Components>
		</PageList>
		<PageList name="Master">
			<Components>
				<Page id="MasterPage"/>
			</Components>
		</PageList>
		<PageList name="Dialog">
			<Components>
				<Page id="NewDialog">
					<Components>
						<DialogContainer id="DialogContainer1">
							<left>0px</left>
							<top>0px</top>
							<width>640px</width>
							<height>480px</height>
							<close_button>False</close_button>
							<kind>custom</kind>
						</DialogContainer>
					</Components>
				</Page>
			</Components>
		</PageList>
	</Components>
</Application>
