Skip to content
This repository has been archived by the owner on Sep 7, 2024. It is now read-only.

Print() #146

Open
anak10thn opened this issue Feb 23, 2015 · 0 comments
Open

Print() #146

anak10thn opened this issue Feb 23, 2015 · 0 comments

Comments

@anak10thn
Copy link
Owner

Methods

//with option
ign.print({option})
//just print of frame
ign.print();

option

Properties Value
type text(default), html
content String

example

config = {
content : '<h1>aku<h1>'
}

if(ign.print(config)){
alert(true);
}
else
{
alert(false);
}

print html format

config = {
content : '<h1>aku<h1>',
type:'html'
}

if(ign.print(config)){
alert(true);
}
else
{
alert(false);
}

print frame on window

if(ign.print()){
alert(true);
}
else
{
alert(false);
}
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant