how to disable button ion onclick in javascript code example Example: disable onclick pointer-events: none; cursor: default;