TCPDF::addJavascriptObject( $script,  $onload = false )

Adds a javascript object and return object ID


Description Description


Parameters Parameters

$script

(Required) (string) Javascript code

$onload

(Optional) (boolean) if true executes this object when opening the document

Default value: false


Top ↑

Return Return

(int) internal object ID


Top ↑

Source Source

File: includes/lib/tcpdf/tcpdf.php


			

Top ↑

Changelog Changelog

Changelog
Version Description
4.8.000 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.