Jump to content


Photo

The Callout extension

Callout extension

  • Please log in to reply
3 replies to this topic

#1 Delphi Developer

Delphi Developer

    Advanced Member

  • Moderators
  • 4108 posts

Posted 01 December 2015 - 11:16 AM

Hi!

 

The Callout extension

Callout is an extension class, which is a CSS styleable floating callout container with an optional arrow, developed by John Yanarella. It is useful for creating hint overlays and interactive callout windows/popovers...

 

https://github.com/C...callout.Callout

 

Attached File  callout.png   22.21KB   7 downloads

 

A live demo is available for this extension at http://lab.codecatal...callout.Callout.

 

Exemplary use:

 

1. Add these files to the project:

https://github.com/C...ee/master/build

 

2.

procedure TMainForm.UniButton1Click(Sender: TObject);
begin  
  UniSession.AddJS(
  'Ext.widget(''callout'', {'+
         'cls: "cartoon",'+
         'width: 200,'+
         'html: "Click anywhere to dismiss this callout window.",'+
         'calloutArrowLocation: "top",'+
         'target: "#'+UniButton1.JSName+'_id",'+
         'relativePosition: "t-b",'+
         'relativeOffsets: [0,10],'+
         'fadeInDuration: 200,'+
         'fadeOutDuration: 200,'+
         'dismissDelay: 5000,'+
    '}).show();'
  );
end;

Best regards.


  • 2

#2 Marlon

Marlon

    Advanced Member

  • uniGUI Subscriber
  • PipPipPipPip
  • 349 posts
  • LocationNova Mutum - MT - Brasil

Posted 01 December 2015 - 11:30 AM

Thank you for sharing


  • 0

#3 mohammad

mohammad

    Advanced Member

  • uniGUI Subscriber
  • PipPipPipPip
  • 722 posts
  • LocationKufur Kassem, Palestine

Posted 01 December 2015 - 07:41 PM

very good, thanx


  • 0

#4 steve589

steve589

    Member

  • uniGUI Subscriber
  • PipPip
  • 18 posts

Posted 15 January 2018 - 08:25 PM

Demo looks great!

 

How do I add this file to the project?

I put it in:

   C:\Program Files (x86)\FMSoft\Framework\uniGUI\ext-4.2.5.1763\examples\ux\callout

but it does not work...

 

What am I doing wrong?

Steve


  • 0





Also tagged with one or more of these keywords: Callout, extension

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users